Skip to content

Commit

Permalink
Merge pull request #2252 from cmuellner/disable-pragma2-linux
Browse files Browse the repository at this point in the history
Disable pragma2 test on Linux
  • Loading branch information
Bernhard Scholz authored Apr 3, 2022
2 parents 4c0104e + 97d74ca commit ae7f6a0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions tests/semantic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

include(SouffleTests)

add_subdirectory(pragma2)
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_subdirectory(pragma2)
endif()


function(positive_test NAME)
souffle_positive_test(${NAME} semantic)
Expand Down Expand Up @@ -222,12 +225,14 @@ positive_test(choice1)
negative_test(disjoint_names2)
positive_test(pragma)
positive_test(pragma1)
# Only test `pragma2` w/ interpreter mode.
# Reason: Linux tooling becomes violently incontinent when confronted with the
# idea of an so w/ non alpha-numeric characters in the name.
# See `tests/semantic/pragma2/CMakeLists.txt` for details.
# souffle_positive_functor_test(pragma2 CATEGORY semantic)
souffle_run_test_helper(TEST_NAME pragma2 FUNCTORS CATEGORY semantic)
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
# Only test `pragma2` w/ interpreter mode.
# Reason: Linux tooling becomes violently incontinent when confronted with the
# idea of an so w/ non alpha-numeric characters in the name.
# See `tests/semantic/pragma2/CMakeLists.txt` for details.
# souffle_positive_functor_test(pragma2 CATEGORY semantic)
souffle_run_test_helper(TEST_NAME pragma2 FUNCTORS CATEGORY semantic)
endif()
positive_test(rel_redundant)
positive_test(type_as4)
positive_test(record_alias)
Expand Down

0 comments on commit ae7f6a0

Please sign in to comment.