Skip to content

Commit

Permalink
Do not compile test_cec_functions.py as a regular Python unit test.
Browse files Browse the repository at this point in the history
Actually, this file should probably be rewritten as a unit test.
  • Loading branch information
Dimitri Rusin committed Nov 15, 2023
1 parent 8013650 commit 6d73070
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ if(NOT ENABLE_MKLANDSCAPE_PROBLEMS)
list(REMOVE_ITEM SOURCES "${MKLANDSCAPE_CPP}")
endif()

# Define the path to the test file to be excluded
set(TEST_CEC_FUNCTIONS_PY "${CMAKE_CURRENT_SOURCE_DIR}/tests/python/test_cec_functions.py")

# Remove the test_cec_functions.py as we don't want to compile it
list(REMOVE_ITEM SOURCES "${TEST_CEC_FUNCTIONS_PY}")

register_test(test_${PROJECT_NAME} "${SOURCES}")

# Add test for each file seperately
Expand Down

0 comments on commit 6d73070

Please sign in to comment.