From 6d237b771b25d8fe102e324cc2cf748189096e20 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 31 Mar 2015 11:06:38 +0200 Subject: [PATCH] Testsuite: Bugfix: Use DIFF_EXECUTABLE in mesh_converter tests --- tests/mesh_converter/CMakeLists.txt | 2 +- tests/run_testsuite.cmake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/mesh_converter/CMakeLists.txt b/tests/mesh_converter/CMakeLists.txt index 7917e44d3a..05c55a7cca 100644 --- a/tests/mesh_converter/CMakeLists.txt +++ b/tests/mesh_converter/CMakeLists.txt @@ -75,7 +75,7 @@ FOREACH(_full_file ${_meshes}) COMMAND rm -f ${_test_directory}/failing_diff COMMAND touch ${_test_directory}/diff COMMAND - ${TEST_DIFF} ${_comparison_file} ${_test_directory}/output > ${_test_directory}/diff + ${DIFF_EXECUTABLE} ${_comparison_file} ${_test_directory}/output > ${_test_directory}/diff || (mv ${_test_directory}/diff ${_test_directory}/failing_diff && echo "${_test_full}: RUN successful." diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index 447cfb5cff..a4200bc542 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -87,7 +87,8 @@ # Furthermore, the following variables controlling the testsuite can be set # and will be automatically handed down to cmake: # -# TEST_DIFF +# NUMDIFF_DIR +# DIFF_DIR # TEST_TIME_LIMIT # TEST_PICKUP_REGEX # -- 2.39.5