]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: avoid concurrent run of a-framework/parameter_file_x 6361/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 27 Apr 2018 15:33:43 +0000 (10:33 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 27 Apr 2018 15:44:47 +0000 (10:44 -0500)
tests/a-framework/CMakeLists.txt

index 98ae7ac54cc6225db94cd4744cf3f372dbd37e89..daefbd43508bfc53f533736cb3159e28c81da6ac 100644 (file)
@@ -2,10 +2,24 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 
-ADD_EXECUTABLE(dummy dummy.cc)
-SET(TEST_TARGET "dummy")
+ADD_EXECUTABLE(dummy.release dummy.cc)
+ADD_EXECUTABLE(dummy.debug dummy.cc)
+SET(TEST_TARGET_RELEASE dummy.release)
+SET(TEST_TARGET_DEBUG dummy.debug)
+
 DEAL_II_PICKUP_TESTS()
 
+#
+# Limit concurrency between the two parameter file tests:
+#
+FOREACH(_build ${DEAL_II_BUILD_TYPES})
+  STRING(TOLOWER ${_build} _build)
+  SET_TESTS_PROPERTIES(a-framework/parameter_file_2.${_build} PROPERTIES
+    DEPENDS a-framework/parameter_file_1.${_build}
+    )
+ENDFOREACH()
+
+
 #
 # And a configure test:
 #

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.