Skip to content

Commit ecb5f63

Browse files
kr-2003anutosh491
authored andcommitted
skipped undo test for emscripten build
1 parent 6b60e04 commit ecb5f63

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
@@ -1519,6 +1519,10 @@ TEST(FunctionReflectionTest, Destruct) {
15191519
}
15201520

15211521
TEST(FunctionReflectionTest, UndoTest) {
1522+
#ifdef EMSCRIPTEN
1523+
GTEST_SKIP()
1524+
<< "Currently not implemented while running clang-repl in the broswer";
1525+
#else
15221526
Cpp::CreateInterpreter();
15231527
std::string cerrs;
15241528
testing::internal::CaptureStderr();
@@ -1553,4 +1557,5 @@ TEST(FunctionReflectionTest, UndoTest) {
15531557
#else
15541558
EXPECT_EQ(ret, 1);
15551559
#endif
1560+
#endif
15561561
}

0 commit comments

Comments
 (0)