Selaa lähdekoodia

Remove a stale test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287183 91177308-0d34-0410-b5e6-96231b3b80d8
Lang Hames 8 vuotta sitten
vanhempi
commit
a0c2c80d79
1 muutettua tiedostoa jossa 0 lisäystä ja 22 poistoa
  1. 0 22
      unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp

+ 0 - 22
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp

@@ -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";
-// }