]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Bugfix: Import target information in mesh_converter tests 696/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 27 Mar 2015 18:31:18 +0000 (19:31 +0100)
committerMatthias Maier <tamiko@43-1.org>
Fri, 27 Mar 2015 18:31:35 +0000 (19:31 +0100)
tests/mesh_converter/CMakeLists.txt

index d97551330c5ee9767eee88bdfa6d53ce96ef60ec..e6066797448c548f8ff1c8e6790a67a8396f12af 100644 (file)
@@ -22,6 +22,11 @@ PROJECT(testsuite CXX)
 #
 DEAL_II_PICKUP_TESTS()
 
+IF(NOT DEAL_II_TARGET_CONFIG_INCLUDED)
+  INCLUDE(${DEAL_II_TARGET_CONFIG})
+  SET(DEAL_II_TARGET_CONFIG_INCLUDED TRUE)
+ENDIF()
+
 #
 # Tests for the mesh_converter executable
 #
@@ -61,10 +66,10 @@ FOREACH(_full_file ${_meshes})
             && cat ${_test_directory}/failing_output
             && exit 1)
       COMMAND
-        ${PERL_EXECUTABLE} -pi ${DEAL_II_SOURCE_DIR}/tests/normalize.pl
+        ${PERL_EXECUTABLE} -pi ${DEAL_II_PATH}/${DEAL_II_SHARE_RELDIR}/scripts/normalize.pl
                                ${_test_directory}/output
       WORKING_DIRECTORY ${_test_directory}
-      DEPENDS mesh_converter_exe ${DEAL_II_SOURCE_DIR}/tests/normalize.pl
+      DEPENDS mesh_converter_exe ${DEAL_II_PATH}/${DEAL_II_SHARE_RELDIR}/scripts/normalize.pl
       )
     ADD_CUSTOM_COMMAND(OUTPUT ${_test_directory}/diff
       COMMAND rm -f ${_test_directory}/failing_diff

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.