]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Bugfix: Invert search order for failing stages in run_test.cmake
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 20 Oct 2013 21:23:09 +0000 (21:23 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 20 Oct 2013 21:23:09 +0000 (21:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@31353 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_test.cmake

index 981c8508c71993c78b78aafcf3d2b8b3a47826fe..90d0580ceb791d90d32683bb60e123244a76f19f 100644 (file)
@@ -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()

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.