Skip to content

Commit

Permalink
Make PYTHON_TEST_EXCLUDE work as documented. (Eyescale#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
hernando authored and eile committed Nov 29, 2017
1 parent 72848f7 commit df8c1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonPythonCTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(PYTHON_TEST_OUTPUT_PATH ${PROJECT_BINARY_DIR}/tests/python)

file(GLOB_RECURSE TEST_FILES ${CMAKE_CURRENT_SOURCE_DIR} *.py)
foreach(FILE ${PYTHON_TEST_EXCLUDE})
list(REMOVE_ITEM TEST_FILES ${FILE})
list(REMOVE_ITEM TEST_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${FILE})
endforeach()
list(SORT TEST_FILES)

Expand Down

0 comments on commit df8c1a6

Please sign in to comment.