diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hscript-simulate/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tools/hscript-validate/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/hscript-simulate/CMakeLists.txt b/tools/hscript-simulate/CMakeLists.txt index dc84f7a..6684df8 100644 --- a/tools/hscript-simulate/CMakeLists.txt +++ b/tools/hscript-simulate/CMakeLists.txt @@ -17,5 +17,6 @@ ENDIF(RSPEC_EXECUTABLE) IF(VALGRIND) add_test(NAME "ValgrindSimulator" - COMMAND ${VALGRIND_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/hscript-simulate ${CMAKE_SOURCE_DIR}/tests/fixtures/0001-basic.installfile) + COMMAND ${VALGRIND_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/hscript-simulate ${CMAKE_SOURCE_DIR}/tests/fixtures/0001-basic.installfile + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) ENDIF(VALGRIND) diff --git a/tools/hscript-validate/CMakeLists.txt b/tools/hscript-validate/CMakeLists.txt index 902afd7..da0590c 100644 --- a/tools/hscript-validate/CMakeLists.txt +++ b/tools/hscript-validate/CMakeLists.txt @@ -17,5 +17,6 @@ ENDIF(RSPEC_EXECUTABLE) IF(VALGRIND) add_test(NAME "ValgrindValidator" - COMMAND ${VALGRIND_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/hscript-validate ${CMAKE_SOURCE_DIR}/tests/fixtures/0001-basic.installfile) + COMMAND ${VALGRIND_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/hscript-validate ${CMAKE_SOURCE_DIR}/tests/fixtures/0001-basic.installfile + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) ENDIF(VALGRIND) |