Skip to content

Commit 52473f0

Browse files
author
kr-2003
committed
skipped undo test for emscripten build
1 parent f2dd4c5 commit 52473f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,10 @@ TEST(FunctionReflectionTest, Destruct) {
15221522
}
15231523

15241524
TEST(FunctionReflectionTest, UndoTest) {
1525+
#ifdef EMSCRIPTEN
1526+
GTEST_SKIP()
1527+
<< "Currently not implemented while running clang-repl in the broswer";
1528+
#else
15251529
Cpp::CreateInterpreter();
15261530
std::string cerrs;
15271531
testing::internal::CaptureStderr();
@@ -1556,4 +1560,5 @@ TEST(FunctionReflectionTest, UndoTest) {
15561560
#else
15571561
EXPECT_EQ(ret, 1);
15581562
#endif
1563+
#endif
15591564
}

0 commit comments

Comments
 (0)