]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Bugfix: Guard mesh_converter tests 730/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 2 Apr 2015 14:39:39 +0000 (16:39 +0200)
committerMatthias Maier <tamiko@43-1.org>
Thu, 2 Apr 2015 14:41:54 +0000 (16:41 +0200)
Only run mesh_converter tests if the testsuite is set up as a dependent
project of the deal.II. In case of an already installed deal.II library,
not all necessary files and configuration for the mesh_converter tests are
available.

tests/CMakeLists.txt

index 13c452de4b35ea7cd2d793ef553d88a10a081a80..a28d2f449dc009fe84bf848b13d2895db7384017 100644 (file)
@@ -87,9 +87,14 @@ ENDFOREACH()
 SET(_categories
   a-framework algorithms all-headers aniso arpack base bits build_tests
   codim_one deal.II distributed_grids fe gla grid hp integrators lac lapack
-  manifold matrix_free mesh_converter metis mpi multigrid opencascade petsc
-  serialization slepc trilinos umfpack
+  manifold matrix_free metis mpi multigrid opencascade petsc serialization
+  slepc trilinos umfpack
   )
+IF(DEFINED DEAL_II_HAVE_TESTS_DIRECTORY)
+  # Only set up mesh_converter tests if the testsuite is set up as a
+  # dependent project:
+  LIST(APPEND _categories mesh_converter)
+ENDIF()
 
 #
 # Custom targets for the testsuite:

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.