diff options
| author | Lang Hames <lhames@gmail.com> | 2016-08-29 23:10:20 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2016-08-29 23:10:20 +0000 |
| commit | 46bfc2178ec6d3cec234b01e74ce2f383ce317e2 (patch) | |
| tree | d0e12edf31161e77feb92b2dee843b5f19afc87c /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | |
| parent | 98c3245dc9fc4fb6162c8fe4ec3c2806e54dab65 (diff) | |
| download | llvm-46bfc2178ec6d3cec234b01e74ce2f383ce317e2.zip llvm-46bfc2178ec6d3cec234b01e74ce2f383ce317e2.tar.gz llvm-46bfc2178ec6d3cec234b01e74ce2f383ce317e2.tar.bz2 | |
[ORC] Fix unit-test breakage from r280016.
Void functions returning error now boolean convert to 'false' if they succeed.
Unit tests updated to reflect this.
llvm-svn: 280027
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp index 22d3739a..af194c9 100644 --- a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp @@ -103,7 +103,7 @@ TEST_F(DummyRPC, TestAsyncVoidBool) { // Verify that the function returned ok. auto Err = ResOrErr->first.get(); - EXPECT_TRUE(!!Err) << "Remote void function failed to execute."; + EXPECT_FALSE(!!Err) << "Remote void function failed to execute."; } TEST_F(DummyRPC, TestAsyncIntInt) { @@ -180,7 +180,7 @@ TEST_F(DummyRPC, TestSerialization) { // Verify that the function returned ok. auto Err = ResOrErr->first.get(); - EXPECT_TRUE(!!Err) << "Remote void function failed to execute."; + EXPECT_FALSE(!!Err) << "Remote void function failed to execute."; } // Test the synchronous call API. |
