From de86d34e53049c69908fb98f3a60476cf3e05350 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 27 Apr 2018 10:33:43 -0500 Subject: [PATCH] Tests: avoid concurrent run of a-framework/parameter_file_x --- tests/a-framework/CMakeLists.txt | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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: # -- 2.39.5