Skip to content

Commit 66e12c8

Browse files
committed
Fixes build error with LIBCPP_GTEST_SKIP
1 parent 8c7eccd commit 66e12c8

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

unittests/PhasarLLVM/ControlFlow/LLVMBasedCFGTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ TEST(LLVMBasedCFGTest, HandleFieldStoreField) {
237237

238238
PHASAR_SKIP_TEST(TEST(LLVMBasedCFGTest, HandlesCppStandardType) {
239239
// If we use libcxx this won't work since internal implementation is different
240-
LIBCPP_GTEST_SKIP();
240+
LIBCPP_GTEST_SKIP;
241241

242242
ProjectIRDB IRDB(
243243
{unittest::PathToLLTestFiles + "name_mangling/special_members_2_cpp.ll"});

unittests/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDEInstInteractionAnalysisTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ TEST_F(IDEInstInteractionAnalysisTest, HandleBasicTest_03) {
248248

249249
PHASAR_SKIP_TEST(TEST_F(IDEInstInteractionAnalysisTest, HandleBasicTest_04) {
250250
// If we use libcxx this won't work since internal implementation is different
251-
LIBCPP_GTEST_SKIP();
251+
LIBCPP_GTEST_SKIP;
252252

253253
std::set<IIACompactResult_t> GroundTruth;
254254
GroundTruth.emplace(
@@ -547,8 +547,8 @@ TEST_F(IDEInstInteractionAnalysisTest, HandleHeapTest_01) {
547547
}
548548

549549
PHASAR_SKIP_TEST(TEST_F(IDEInstInteractionAnalysisTest, HandleRVOTest_01) {
550-
// If we use libcxx this won't work since internal implementation is different
551-
LIBCPP_GTEST_SKIP();
550+
// If we use libcxx this won't work since internal implementation is different
551+
LIBCPP_GTEST_SKIP;
552552

553553
std::set<IIACompactResult_t> GroundTruth;
554554
GroundTruth.emplace(

unittests/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IFDSConstAnalysisTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ TEST_F(IFDSConstAnalysisTest, HandleSTLArrayTest_02) {
368368

369369
PHASAR_SKIP_TEST(TEST_F(IFDSConstAnalysisTest, HandleSTLArrayTest_03) {
370370
// If we use libcxx this won't work since internal implementation is different
371-
LIBCPP_GTEST_SKIP();
371+
LIBCPP_GTEST_SKIP;
372372

373373
initialize({PathToLlFiles + "array/stl_array/stl_array_03_cpp_m2r_dbg.ll"});
374374
IFDSSolver_P<IFDSConstAnalysis> Llvmconstsolver(*Constproblem);

unittests/PhasarLLVM/TypeHierarchy/LLVMTypeHierarchyTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ TEST(LTHTest, TransitivelyReachableTypes) {
732732
// Failing test case
733733
PHASAR_SKIP_TEST(TEST(LTHTest, HandleSTLString) {
734734
// If we use libcxx this won't work since internal implementation is different
735-
LIBCPP_GTEST_SKIP();
735+
LIBCPP_GTEST_SKIP;
736736

737737
ProjectIRDB IRDB({unittest::PathToLLTestFiles +
738738
"type_hierarchies/type_hierarchy_13_cpp.ll"});

unittests/TestUtils/TestConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inline const std::string PathToJSONTestFiles(PhasarConfig::PhasarDirectory() +
2626
#endif
2727

2828
#ifdef _LIBCPP_VERSION
29-
#define LIBCPP_GTEST_SKIP GTEST_SKIP
29+
#define LIBCPP_GTEST_SKIP GTEST_SKIP();
3030
#else
3131
#define LIBCPP_GTEST_SKIP
3232
#endif

0 commit comments

Comments
 (0)