@@ -532,6 +532,9 @@ TEST(FunctionReflectionTest, ExistsFunctionTemplate) {
532532}
533533
534534TEST (FunctionReflectionTest, InstantiateTemplateFunctionFromString) {
535+ #ifdef EMSCRIPTEN
536+ GTEST_SKIP () << " Test crashes gtest on Emscipten" ;
537+ #endif
535538 if (llvm::sys::RunningOnValgrind ())
536539 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
537540 Cpp::CreateInterpreter ();
@@ -798,6 +801,9 @@ TEST(FunctionReflectionTest, IsStaticMethod) {
798801}
799802
800803TEST (FunctionReflectionTest, GetFunctionAddress) {
804+ #ifdef EMSCRIPTEN
805+ GTEST_SKIP () << " Test crashes gtest on Emscipten" ;
806+ #endif
801807 if (llvm::sys::RunningOnValgrind ())
802808 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
803809#ifdef _WIN32
@@ -842,6 +848,9 @@ TEST(FunctionReflectionTest, IsVirtualMethod) {
842848}
843849
844850TEST (FunctionReflectionTest, JitCallAdvanced) {
851+ #ifdef EMSCRIPTEN
852+ GTEST_SKIP () << " Test crashes gtest on Emscipten" ;
853+ #endif
845854 if (llvm::sys::RunningOnValgrind ())
846855 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
847856 std::vector<Decl*> Decls;
@@ -866,6 +875,9 @@ TEST(FunctionReflectionTest, JitCallAdvanced) {
866875
867876
868877TEST (FunctionReflectionTest, GetFunctionCallWrapper) {
878+ #ifdef EMSCRIPTEN
879+ GTEST_SKIP () << " Test crashes gtest on Emscipten" ;
880+ #endif
869881 if (llvm::sys::RunningOnValgrind ())
870882 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
871883 std::vector<Decl*> Decls;
@@ -1127,6 +1139,9 @@ TEST(FunctionReflectionTest, GetFunctionArgDefault) {
11271139}
11281140
11291141TEST (FunctionReflectionTest, Construct) {
1142+ #ifdef EMSCRIPTEN
1143+ GTEST_SKIP () << " Test fails for Emscipten builds" ;
1144+ #endif
11301145 if (llvm::sys::RunningOnValgrind ())
11311146 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
11321147#ifdef _WIN32
@@ -1167,6 +1182,9 @@ TEST(FunctionReflectionTest, Construct) {
11671182}
11681183
11691184TEST (FunctionReflectionTest, Destruct) {
1185+ #ifdef EMSCRIPTEN
1186+ GTEST_SKIP () << " Test fails for Emscipten builds" ;
1187+ #endif
11701188 if (llvm::sys::RunningOnValgrind ())
11711189 GTEST_SKIP () << " XFAIL due to Valgrind report" ;
11721190
0 commit comments