Skip to content

Commit 23c4c71

Browse files
committed
Try stuff to make unittests pass
1 parent 12d45fc commit 23c4c71

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,8 @@ if (llvm::sys::RunningOnValgrind())
204204

205205
EXPECT_NE(ExtInterp, nullptr);
206206

207-
#if !defined(NDEBUG) || !GTEST_HAS_DEATH_TEST
208-
// death tests don't work right on windows
209-
#ifndef _WIN32
210-
ASSERT_DEATH(Cpp::UseExternalInterpreter(ExtInterp), "sInterpreter already in use!");
211-
#endif
207+
#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST
208+
EXPECT_DEATH(Cpp::UseExternalInterpreter(ExtInterp), "sInterpreter already in use!");
212209
#endif
213210
EXPECT_TRUE(Cpp::GetInterpreter()) << "External Interpreter not set";
214211

0 commit comments

Comments
 (0)