Skip to content

Commit fda48a4

Browse files
committed
oop failing test
1 parent 1bf9c89 commit fda48a4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,6 +2319,9 @@ TEST(FunctionReflectionTest, ConstructArray) {
23192319
#ifdef _WIN32
23202320
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
23212321
#endif
2322+
if (TestUtils::use_oop_jit()) {
2323+
GTEST_SKIP() << "Test fails for OOP JIT builds";
2324+
}
23222325

23232326
TestUtils::CreateInterpreter();
23242327

@@ -2446,6 +2449,9 @@ TEST(FunctionReflectionTest, DestructArray) {
24462449
#ifdef _WIN32
24472450
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
24482451
#endif
2452+
if (TestUtils::use_oop_jit()) {
2453+
GTEST_SKIP() << "Test fails for OOP JIT builds";
2454+
}
24492455

24502456
std::vector<const char*> interpreter_args = {"-include", "new"};
24512457
TestUtils::CreateInterpreter(interpreter_args);

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ TEST(InterpreterTest, EmscriptenExceptionHandling) {
168168
#ifndef EMSCRIPTEN
169169
GTEST_SKIP() << "This test is intended to check exception handling for Emscripten builds.";
170170
#endif
171+
if (TestUtils::use_oop_jit()) {
172+
GTEST_SKIP() << "Test fails for OOP JIT builds";
173+
}
171174

172175
std::vector<const char*> Args = {
173176
"-std=c++20",

0 commit comments

Comments
 (0)