From abce0a522e352cd603cbabf7162b074d477d4bfc Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 22 Mar 2016 15:05:45 +0100
Subject: [PATCH] [fix][co2] Make restart test depend on box target not cc

---
 test/porousmediumflow/co2/implicit/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/porousmediumflow/co2/implicit/CMakeLists.txt b/test/porousmediumflow/co2/implicit/CMakeLists.txt
index c02c74e33d..34be1f6c3a 100644
--- a/test/porousmediumflow/co2/implicit/CMakeLists.txt
+++ b/test/porousmediumflow/co2/implicit/CMakeLists.txt
@@ -20,7 +20,7 @@ add_dumux_test(test_ccco2 test_ccco2 test_ccco2.cc
                          ${CMAKE_CURRENT_BINARY_DIR}/heterogeneouscc-00019.vtu
                  --command "${CMAKE_CURRENT_BINARY_DIR}/test_ccco2")
 
-add_dumux_test(test_restartco2 test_ccco2 test_ccco2.cc
+add_dumux_test(test_restartco2 test_boxco2 test_boxco2.cc
                python ${CMAKE_SOURCE_DIR}/bin/runtest.py
                  --script fuzzy
                  --files ${CMAKE_SOURCE_DIR}/test/references/co2box-reference.vtu
@@ -29,7 +29,7 @@ add_dumux_test(test_restartco2 test_ccco2 test_ccco2.cc
                  --zeroThreshold {"porosity":1})
 
 # the restart test has to run after the test that produces the restart file
-set_tests_properties(test_restartco2 PROPERTIES DEPENDS test_ccco2)
+set_tests_properties(test_restartco2 PROPERTIES DEPENDS test_boxco2)
 
 # build target for the CO2 non-isothermal test problem
 add_dumux_test(test_boxco2ni test_boxco2ni test_boxco2ni.cc
-- 
GitLab