From: Matthias Maier Date: Fri, 27 Apr 2018 15:33:43 +0000 (-0500) Subject: Tests: avoid concurrent run of a-framework/parameter_file_x X-Git-Tag: v9.0.0-rc1~86^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de86d34e53049c69908fb98f3a60476cf3e05350;p=dealii.git Tests: avoid concurrent run of a-framework/parameter_file_x --- diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt index 98ae7ac54c..daefbd4350 100644 --- a/tests/a-framework/CMakeLists.txt +++ b/tests/a-framework/CMakeLists.txt @@ -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: #