OSDN Git Service

Remove a stale test case.
authorLang Hames <lhames@gmail.com>
Thu, 17 Nov 2016 01:02:52 +0000 (01:02 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 17 Nov 2016 01:02:52 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287183 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp

index 6da8b63..9ace46d 100644 (file)
@@ -244,25 +244,3 @@ TEST(DummyRPC, TestSerialization) {
 
   ServerThread.join();
 }
-
-// Test the synchronous call API.
-// TEST_F(DummyRPC, TestSynchronousCall) {
-//   Queue Q1, Q2;
-//   QueueChannel C1(Q1, Q2);
-//   QueueChannel C2(Q2, Q1);
-//
-//   auto ServerResult =
-//     std::async(std::launch::async,
-//       [&]() {
-//         return expect<IntInt>(C2, [&](int32_t V) { return V; });
-//       });
-//
-//   auto ValOrErr = callST<IntInt>(C1, 42);
-//
-//   EXPECT_FALSE(!!ServerResult.get())
-//     << "Server returned an error.";
-//   EXPECT_TRUE(!!ValOrErr)
-//     << "callST returned an error.";
-//   EXPECT_EQ(*ValOrErr, 42)
-//     << "Incorrect callST<IntInt> result";
-// }