From 23d99ffe0e531d41409904088fb09714fdbec762 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Fri, 16 Dec 2011 15:30:11 +0000 Subject: [PATCH] CMake does not like backslashes git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7137 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- CMakeLists.txt | 106 ++++++------------------------------------------- 1 file changed, 13 insertions(+), 93 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99fdff7205..8211f6489d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,101 +184,21 @@ add_subdirectory("tutorial") # set up CTest ENABLE_TESTING() INCLUDE(CTest) -ADD_TEST(test_1p \ - util/runTest.sh \ - test/boxmodels/1p/1ptest-reference.vtu \ - test/boxmodels/1p/1ptest-00002.vtu \ - test/boxmodels/1p/test_1p \ - test/boxmodels/1p/grids/test_1p_2d.dgf \ - 1 \ - 1) -add_test(test_1p2c \ - util/runTest.sh \ - test/boxmodels/1p2c/tissue-reference.vtu \ - test/boxmodels/1p2c/tissue-00003.vtu \ - test/boxmodels/1p2c/test_1p2c \ - test/boxmodels/1p2c/grids/test_1p2c.dgf \ - 2e3 \ - 1e3) -add_test(test_2p \ - util/runTest.sh \ - test/boxmodels/2p/lens-reference.vtu \ - test/boxmodels/2p/lens-00010.vtu \ - test/boxmodels/2p/test_2p \ - 3000 \ - 250) -add_test(test_2pni \ - util/runTest.sh \ - test/boxmodels/2pni/injection2pni-reference.vtu \ - test/boxmodels/2pni/injection2pni-00009.vtu \ - test/boxmodels/2pni/test_2pni \ - test/boxmodels/2pni/grids/test_2pni.dgf \ - 1e4 \ - 250) -add_test(test_2p2c \ - util/runTest.sh \ - test/boxmodels/2p2c/injection-reference.vtu \ - test/boxmodels/2p2c/injection-00009.vtu \ - test/boxmodels/2p2c/test_2p2c \ - test/boxmodels/2p2c/grids/test_2p2c.dgf \ - 1e4 \ - 250) -add_test(test_2p2cni \ - util/runTest.sh \ - test/boxmodels/2p2cni/waterair-reference.vtu \ - test/boxmodels/2p2cni/waterair-00011.vtu \ - test/boxmodels/2p2cni/test_2p2cni \ - test/boxmodels/2p2cni/grids/test_2p2cni.dgf \ - 1e4 \ - 250) -add_test(test_MpNc \ - util/runTest.sh \ - test/boxmodels/MpNc/obstacle-reference.vtu \ - test/boxmodels/MpNc/obstacle-00011.vtu \ - test/boxmodels/MpNc/test_MpNc \ - test/boxmodels/MpNc/grids/obstacle_24x16.dgf \ - 1e4 \ - 250) -add_test(test_richards \ - util/runTest.sh \ - test/boxmodels/richards/richardslens-reference.vtu \ - test/boxmodels/richards/richardslens-00009.vtu \ - test/boxmodels/richards/test_richards \ - test/boxmodels/richards/grids/richardslens.dgf \ - 100 \ - 10) +ADD_TEST(test_1p util/runTest.sh test/boxmodels/1p/1ptest-reference.vtu test/boxmodels/1p/1ptest-00002.vtu test/boxmodels/1p/test_1p test/boxmodels/1p/grids/test_1p_2d.dgf 1 1) +add_test(test_1p2c util/runTest.sh test/boxmodels/1p2c/tissue-reference.vtu test/boxmodels/1p2c/tissue-00003.vtu test/boxmodels/1p2c/test_1p2c test/boxmodels/1p2c/grids/test_1p2c.dgf 2e3 1e3) +add_test(test_2p util/runTest.sh test/boxmodels/2p/lens-reference.vtu test/boxmodels/2p/lens-00010.vtu test/boxmodels/2p/test_2p 3000 250) +add_test(test_2pni util/runTest.sh test/boxmodels/2pni/injection2pni-reference.vtu test/boxmodels/2pni/injection2pni-00009.vtu test/boxmodels/2pni/test_2pni test/boxmodels/2pni/grids/test_2pni.dgf 1e4 250) +add_test(test_2p2c util/runTest.sh test/boxmodels/2p2c/injection-reference.vtu test/boxmodels/2p2c/injection-00009.vtu test/boxmodels/2p2c/test_2p2c test/boxmodels/2p2c/grids/test_2p2c.dgf 1e4 250) +add_test(test_2p2cni util/runTest.sh test/boxmodels/2p2cni/waterair-reference.vtu test/boxmodels/2p2cni/waterair-00011.vtu test/boxmodels/2p2cni/test_2p2cni test/boxmodels/2p2cni/grids/test_2p2cni.dgf 1e4 250) +add_test(test_MpNc util/runTest.sh test/boxmodels/MpNc/obstacle-reference.vtu test/boxmodels/MpNc/obstacle-00011.vtu test/boxmodels/MpNc/test_MpNc test/boxmodels/MpNc/grids/obstacle_24x16.dgf 1e4 250) +add_test(test_richards util/runTest.sh test/boxmodels/richards/richardslens-reference.vtu test/boxmodels/richards/richardslens-00009.vtu test/boxmodels/richards/test_richards test/boxmodels/richards/grids/richardslens.dgf 100 10) add_test(test_propertysystem test/common/propertysystem/test_propertysystem) add_test(test_spline test/common/spline/test_spline) -add_test(test_diffusion \ - util/runTest.sh \ - test/decoupled/1p/diffusion-reference.vtu \ - test/decoupled/1p/mimeticdiffusion-00001.vtu \ - test/decoupled/1p/test_diffusion \ - 3) -add_test(test_dec1p \ - util/runTest.sh \ - test/decoupled/1p/test_1p-reference.vtu \ - test/decoupled/1p/test_1p-00001.vtu \ - test/decoupled/1p/test_dec1p - 3) -add_test(test_transport \ - util/runTest.sh \ - test/decoupled/2p/test_transport-reference.vtu \ - test/decoupled/2p/test_transport-00006.vtu \ - test/decoupled/2p/test_transport \ - test/decoupled/2p/grids/test_transport.dgf \ - 1e4) -add_test(test_impes \ - util/runTest.sh \ - test/decoupled/2p/test_impes-reference.vtu \ - test/decoupled/2p/test_impes-00013.vtu \ - test/decoupled/2p/test_impes \ - 1e7) -add_test(test_dec2p2c \ - util/runTest.sh \ - test/decoupled/2p/test_dec2p2c-reference.vtu \ - test/decoupled/2p/test_dec2p2c-00021.vtu \ - test/decoupled/2p2c/test_dec2p2c) +add_test(test_diffusion util/runTest.sh test/decoupled/1p/diffusion-reference.vtu test/decoupled/1p/mimeticdiffusion-00001.vtu test/decoupled/1p/test_diffusion 3) +add_test(test_dec1p util/runTest.sh test/decoupled/1p/test_1p-reference.vtu test/decoupled/1p/test_1p-00001.vtu test/decoupled/1p/test_dec1p 3) +add_test(test_transport util/runTest.sh test/decoupled/2p/test_transport-reference.vtu test/decoupled/2p/test_transport-00006.vtu test/decoupled/2p/test_transport test/decoupled/2p/grids/test_transport.dgf 1e4) +add_test(test_impes util/runTest.sh test/decoupled/2p/test_impes-reference.vtu test/decoupled/2p/test_impes-00013.vtu test/decoupled/2p/test_impes 1e7) +add_test(test_dec2p2c util/runTest.sh test/decoupled/2p/test_dec2p2c-reference.vtu test/decoupled/2p/test_dec2p2c-00021.vtu test/decoupled/2p2c/test_dec2p2c) add_test(test_fluidsystems test/material/fluidsystems/test_fluidsystems) add_test(test_fluidsystems test/material/ncpflash/test_ncpflash) add_test(tutorial_coupled tutorial/tutorial_coupled 1 1) -- GitLab