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:
parent
159a898e35
commit
9975daa26b
@ -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}});
|
||||
|
Loading…
Reference in New Issue
Block a user