From 685b44907c12f04494a33e11539b7e917f9b181a Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Mon, 19 Nov 2018 16:30:42 +0100
Subject: [PATCH] [test][navierstokesnc] Use different executables for caching
 on/off

---
 test/freeflow/navierstokesnc/channel/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/freeflow/navierstokesnc/channel/CMakeLists.txt b/test/freeflow/navierstokesnc/channel/CMakeLists.txt
index c5de800ac9..379fa0066a 100644
--- a/test/freeflow/navierstokesnc/channel/CMakeLists.txt
+++ b/test/freeflow/navierstokesnc/channel/CMakeLists.txt
@@ -41,7 +41,7 @@ dune_add_test(NAME test_ff_stokes2c_advection
                              -Problem.Name test_ff_stokes2c_advection")
 
 dune_add_test(NAME test_ff_stokes2c_advection_nocaching
-              TARGET test_ff_stokes2c
+              SOURCES main.cc
               LABELS freeflow
               CMAKE_GUARD HAVE_UMFPACK
               COMPILE_DEFINITIONS ENABLECACHING=0
@@ -49,7 +49,7 @@ dune_add_test(NAME test_ff_stokes2c_advection_nocaching
               CMD_ARGS       --script fuzzy
                              --files ${CMAKE_SOURCE_DIR}/test/references/test_ff_stokes2c_advection-reference.vtu
                                      ${CMAKE_CURRENT_BINARY_DIR}/test_ff_stokes2c_advection_nocaching-00009.vtu
-                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_stokes2c params_advection.input
+                             --command "${CMAKE_CURRENT_BINARY_DIR}/test_ff_stokes2c_advection_nocaching params_advection.input
                              -Problem.Name test_ff_stokes2c_advection_nocaching")
 
 add_executable(test_ff_stokes2cni EXCLUDE_FROM_ALL main.cc)
-- 
GitLab