Skip to content

Commit 742dea0

Browse files
authored
Enable passing Emscripten test for static library builds that fails for shared library builds
1 parent 2828d4e commit 742dea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2486,7 +2486,9 @@ TEST(FunctionReflectionTest, FailingTest1) {
24862486
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
24872487
#endif
24882488
#ifdef EMSCRIPTEN
2489-
GTEST_SKIP() << "Test fails for Emscipten builds";
2489+
#ifndef EMSCRIPTEN_STATIC_LIBRARY
2490+
GTEST_SKIP() << "Test fails for Emscipten shared library builds";
2491+
#endif
24902492
#endif
24912493
Cpp::CreateInterpreter();
24922494
EXPECT_FALSE(Cpp::Declare(R"(

0 commit comments

Comments
 (0)