Skip to content

Commit

Permalink
Only use XFAIL_TESTS when we run the regression suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Jan 17, 2024
1 parent 44f6b34 commit 1d7879e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions regress/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ if(RUN_REGRESS)
set_tests_properties(${CASE} PROPERTIES SKIP_RETURN_CODE 77)
set_tests_properties(${CASE} PROPERTIES ENVIRONMENT "PATH=${path}")
endforeach()
endif()

foreach(CASE ${XFAIL_TESTS})
set_tests_properties(${CASE} PROPERTIES WILL_FAIL TRUE)
endforeach()
foreach(CASE ${XFAIL_TESTS})
set_tests_properties(${CASE} PROPERTIES WILL_FAIL TRUE)
endforeach()
endif()

add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})

Expand Down

0 comments on commit 1d7879e

Please sign in to comment.