diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-29 10:46:06 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-29 10:46:06 +0000 |
| commit | 38b4ec1505424af256a127b1a0fddb1b94e7c191 (patch) | |
| tree | 5386b3f68300cd0ac657f3db40348d3a3afe3a80 | |
| parent | refactor a bit (diff) | |
| download | inkscape-38b4ec1505424af256a127b1a0fddb1b94e7c191.tar.gz inkscape-38b4ec1505424af256a127b1a0fddb1b94e7c191.zip | |
small fix
| -rw-r--r-- | testfiles/rendering_tests/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | testfiles/rendering_tests/README (renamed from testfiles/README) | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/testfiles/rendering_tests/CMakeLists.txt b/testfiles/rendering_tests/CMakeLists.txt index 0e0f43b99..786771374 100644 --- a/testfiles/rendering_tests/CMakeLists.txt +++ b/testfiles/rendering_tests/CMakeLists.txt @@ -1,6 +1,10 @@ + +#add your test here (do not put the .svg extension) set(RENDERING_TESTS test-empty ) + + 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 ) endforeach() diff --git a/testfiles/README b/testfiles/rendering_tests/README index e395d828c..92cf95ef6 100644 --- a/testfiles/README +++ b/testfiles/rendering_tests/README @@ -4,7 +4,7 @@ HOWTO - create the svg file - inkscape <yourfile>.svg -d 96 -e expected_rendering/<yourfile>.png - inkscape <yourfile>.svg -d 384 -e expected_rendering/<yourfile>-large.png - - add the test in the list below + - add the test in CMakeLists.txt - use stable if possible to generate the reference png files - git add <yourfile>.svg expected_rendering/<yourfile>-large.png expected_rendering/<yourfile>.png |
