diff options
author | Jaime van Kessel <nallath@gmail.com> | 2016-04-29 13:14:05 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2016-04-29 13:14:05 +0300 |
commit | 2b3c3b1b51ea3442c590edd8805af6b6b585ce5c (patch) | |
tree | 30a1468d02ff380ee59a26fe1f4f03225588000c /CMakeLists.txt | |
parent | 69bd1a658685bbf3a84e033aeddc0fee1f24c6cf (diff) |
Fixed python path for tests
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ad2315070c..0ca4594947 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY # Tests # Note that we use exit 0 here to not mark the build as a failure on test failure add_custom_target(tests) -add_custom_command(TARGET tests POST_BUILD COMMAND "PYTHONPATH=${CMAKE_SOURCE_DIR}" ${PYTHON_EXECUTABLE} -m pytest -r a --junitxml=${CMAKE_BINARY_DIR}/junit.xml ${CMAKE_SOURCE_DIR} || exit 0) +add_custom_command(TARGET tests POST_BUILD COMMAND "PYTHONPATH=${CMAKE_SOURCE_DIR}/../Uranium/:${CMAKE_SOURCE_DIR}" ${PYTHON_EXECUTABLE} -m pytest -r a --junitxml=${CMAKE_BINARY_DIR}/junit.xml ${CMAKE_SOURCE_DIR} || exit 0) set(CURA_VERSION "master" CACHE STRING "Version name of Cura") |