From cee2de9f521cc0af93fb73ef62b421d399e26cc3 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 20 Oct 2013 21:23:09 +0000 Subject: [PATCH] Testsuite: Bugfix: Invert search order for failing stages in run_test.cmake git-svn-id: https://svn.dealii.org/trunk@31353 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/scripts/run_test.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/cmake/scripts/run_test.cmake b/deal.II/cmake/scripts/run_test.cmake index 981c8508c7..90d0580ceb 100644 --- a/deal.II/cmake/scripts/run_test.cmake +++ b/deal.II/cmake/scripts/run_test.cmake @@ -52,14 +52,14 @@ STRING(REGEX MATCH "${TEST}: RUN failed\\." _run_regex ${_output}) STRING(REGEX MATCH "${TEST}: DIFF failed\\." _diff_regex ${_output}) STRING(REGEX MATCH "${TEST}: PASSED\\." _passed_regex ${_output}) -IF(NOT "${_configure_regex}" STREQUAL "") - SET(_stage CONFIGURE) +IF(NOT "${_passed_regex}" STREQUAL "") + SET(_stage PASSED) ELSEIF(NOT "${_run_regex}" STREQUAL "") SET(_stage RUN) ELSEIF(NOT "${_diff_regex}" STREQUAL "") SET(_stage DIFF) -ELSEIF(NOT "${_passed_regex}" STREQUAL "") - SET(_stage PASSED) +ELSEIF(NOT "${_configure_regex}" STREQUAL "") + SET(_stage CONFIGURE) ELSE() # unconditionally, because "BUILD failed." doesn't have to be printed... SET(_stage BUILD) ENDIF() -- 2.39.5