Skip to content

Commit 1297209

Browse files
committed
Disable test which is supposed to run only in debug
1 parent 933ee07 commit 1297209

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ TEST(InterpreterTest, Version) {
99
EXPECT_THAT(Cpp::GetVersion(), StartsWith("CppInterOp version"));
1010
}
1111

12+
#ifdef NDEBUG
13+
TEST(InterpreterTest, DISABLED_DebugFlag) {
14+
#else
1215
TEST(InterpreterTest, DebugFlag) {
16+
#endif // NDEBUG
1317
EXPECT_FALSE(Cpp::IsDebugOutputEnabled());
1418
std::string cerrs;
1519
testing::internal::CaptureStderr();

0 commit comments

Comments
 (0)