Skip to content

Commit 7015aa9

Browse files
committed
Refactor
1 parent 0c3ba9b commit 7015aa9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ class LibraryResolverIT : public ::testing::Test {
256256
}
257257

258258
void SetUp() override {
259-
if (!EnvReady)
259+
if (!EnvReady || GlobalEnv == nullptr)
260260
GTEST_SKIP() << "Skipping test: environment setup failed.";
261261

262-
ASSERT_NE(GlobalEnv, nullptr);
263262
{
264263
SmallString<512> path;
265264
std::error_code EC = sys::fs::real_path(GlobalEnv->getBaseDir(), path);

0 commit comments

Comments
 (0)