1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[ORC] Consume unhandled errors in unit test.

This should fix the failures on the debug buildbots.

llvm-svn: 343929
This commit is contained in:
Lang Hames 2018-10-07 01:08:02 +00:00
parent 159a898e35
commit 9975daa26b

View File

@ -167,6 +167,7 @@ TEST_F(CoreAPIsStandardTest, RemoveSymbolsTest) {
EXPECT_TRUE(!!Err) << "Expected failure";
EXPECT_TRUE(Err.isA<SymbolsNotFound>())
<< "Expected a SymbolsNotFound error";
consumeError(std::move(Err));
}
{
@ -175,6 +176,7 @@ TEST_F(CoreAPIsStandardTest, RemoveSymbolsTest) {
EXPECT_TRUE(!!Err) << "Expected failure";
EXPECT_TRUE(Err.isA<SymbolsCouldNotBeRemoved>())
<< "Expected a SymbolsNotFound error";
consumeError(std::move(Err));
}
BazR->resolve({{Baz, BazSym}});