summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-11-17 01:02:52 +0000
committerLang Hames <lhames@gmail.com>2016-11-17 01:02:52 +0000
commite3b74d3c4db8489be50d3f205f904ae6e21c4d23 (patch)
tree17a9dedd91766248e77c1ebb13d4f80af7aad2b2 /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
parentbda44985431a7d5e040731f53bbb9ecc94bbc4ce (diff)
downloadbcm5719-llvm-e3b74d3c4db8489be50d3f205f904ae6e21c4d23.tar.gz
bcm5719-llvm-e3b74d3c4db8489be50d3f205f904ae6e21c4d23.zip
Remove a stale test case.
llvm-svn: 287183
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
index 6da8b63c0d4..9ace46dffd8 100644
--- a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
+++ b/llvm/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";
-// }
OpenPOWER on IntegriCloud