@@ -702,8 +702,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_ExistsFunctionTemplate) {
702702
703703TYPED_TEST (CPPINTEROP_TEST_MODE,
704704 FunctionReflection_InstantiateTemplateFunctionFromString) {
705- if (llvm::sys::RunningOnValgrind ())
706- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
707705 std::vector<const char *> interpreter_args = { " -include" , " new" };
708706 TestFixture::CreateInterpreter (interpreter_args);
709707 std::string code = R"( #include <memory>)" ;
@@ -763,8 +761,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_InstantiateTemplateMethod) {
763761}
764762
765763TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_LookupConstructors) {
766- if (llvm::sys::RunningOnValgrind ())
767- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
768764
769765 std::vector<Decl*> Decls;
770766 std::string code = R"(
@@ -804,8 +800,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_LookupConstructors) {
804800}
805801
806802TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_GetClassTemplatedMethods) {
807- if (llvm::sys::RunningOnValgrind ())
808- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
809803
810804 std::vector<Decl*> Decls;
811805 std::string code = R"(
@@ -1543,8 +1537,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_IsStaticMethod) {
15431537}
15441538
15451539TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_GetFunctionAddress) {
1546- if (llvm::sys::RunningOnValgrind ())
1547- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
15481540#ifdef _WIN32
15491541 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
15501542#endif
@@ -1615,8 +1607,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_JitCallAdvanced) {
16151607#if CLANG_VERSION_MAJOR == 20 && defined(CPPINTEROP_USE_CLING) && defined(_WIN32)
16161608 GTEST_SKIP () << " Test fails with Cling on Windows" ;
16171609#endif
1618- if (llvm::sys::RunningOnValgrind ())
1619- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
16201610
16211611 if (TypeParam::isOutOfProcess)
16221612 GTEST_SKIP () << " Test fails for OOP JIT builds" ;
@@ -1661,8 +1651,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_JitCallAdvanced) {
16611651#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST
16621652#ifndef _WIN32 // Death tests do not work on Windows
16631653TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_JitCallDebug) {
1664- if (llvm::sys::RunningOnValgrind ())
1665- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
16661654
16671655 if (TypeParam::isOutOfProcess)
16681656 GTEST_SKIP () << " Test fails for OOP JIT builds" ;
@@ -1767,8 +1755,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_GetFunctionCallWrapper) {
17671755#ifdef EMSCRIPTEN
17681756 GTEST_SKIP () << " Test fails for Emscipten builds" ;
17691757#endif
1770- if (llvm::sys::RunningOnValgrind ())
1771- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
17721758#if defined(CPPINTEROP_USE_CLING) && defined(_WIN32)
17731759 GTEST_SKIP () << " Disabled, invoking functions containing printf does not work with Cling on Windows" ;
17741760#endif
@@ -2425,8 +2411,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_GetFunctionArgDefault) {
24252411}
24262412
24272413TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_Construct) {
2428- if (llvm::sys::RunningOnValgrind ())
2429- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
24302414#ifdef _WIN32
24312415 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
24322416#endif
@@ -2513,8 +2497,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_Construct) {
25132497
25142498// Test zero initialization of PODs and default initialization cases
25152499TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_ConstructPOD) {
2516- if (llvm::sys::RunningOnValgrind ())
2517- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
25182500#ifdef _WIN32
25192501 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
25202502#endif
@@ -2555,8 +2537,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_ConstructPOD) {
25552537
25562538// Test nested constructor calls
25572539TYPED_TEST (CPPINTEROP_TEST_MODE, FunctionReflection_ConstructNested) {
2558- if (llvm::sys::RunningOnValgrind ())
2559- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
25602540#ifdef _WIN32
25612541 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
25622542#endif
@@ -2618,8 +2598,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_ConstructArray) {
26182598#if defined(EMSCRIPTEN)
26192599 GTEST_SKIP () << " Test fails for Emscripten builds" ;
26202600#endif
2621- if (llvm::sys::RunningOnValgrind ())
2622- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
26232601#ifdef _WIN32
26242602 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
26252603#endif
@@ -2672,8 +2650,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_Destruct) {
26722650#ifdef EMSCRIPTEN
26732651 GTEST_SKIP () << " Test fails for Emscipten builds" ;
26742652#endif
2675- if (llvm::sys::RunningOnValgrind ())
2676- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
26772653
26782654#ifdef _WIN32
26792655 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
@@ -2745,8 +2721,6 @@ TYPED_TEST(CPPINTEROP_TEST_MODE, FunctionReflection_DestructArray) {
27452721#ifdef EMSCRIPTEN
27462722 GTEST_SKIP () << " Test fails for Emscipten builds" ;
27472723#endif
2748- if (llvm::sys::RunningOnValgrind ())
2749- GTEST_SKIP () << " XFAIL due to Valgrind report" ;
27502724
27512725#ifdef _WIN32
27522726 GTEST_SKIP () << " Disabled on Windows. Needs fixing." ;
0 commit comments