forked from OSchip/llvm-project
[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
535448e08d
commit
cd0e599096
|
@ -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