summaryrefslogtreecommitdiffstats
path: root/testfiles/rendering_tests
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-07-29 16:55:22 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-07-29 16:55:22 +0000
commit33982890ab0b02e837ca87a61329175a0af4546e (patch)
treeb49cfc4710f66aa5aae4e48ffd30637cc0216382 /testfiles/rendering_tests
parentsmall fix (diff)
downloadinkscape-33982890ab0b02e837ca87a61329175a0af4546e.tar.gz
inkscape-33982890ab0b02e837ca87a61329175a0af4546e.zip
Small fixes suggested by @Ede123
Diffstat (limited to 'testfiles/rendering_tests')
-rw-r--r--testfiles/rendering_tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/testfiles/rendering_tests/CMakeLists.txt b/testfiles/rendering_tests/CMakeLists.txt
index 786771374..72cc61f4f 100644
--- a/testfiles/rendering_tests/CMakeLists.txt
+++ b/testfiles/rendering_tests/CMakeLists.txt
@@ -6,6 +6,7 @@ set(RENDERING_TESTS
foreach(rendering_test ${RENDERING_TESTS})
- add_test(NAME ${rendering_test} COMMAND test.sh ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/inkscape ${rendering_test} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/testfiles/rendering_tests )
+ add_test(NAME ${rendering_test} COMMAND sh test.sh ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/inkscape ${rendering_test} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/testfiles/rendering_tests )
+ set_tests_properties(${rendering_test} PROPERTIES ENVIRONMENT ${CMAKE_CTEST_ENV})
endforeach()