From 8d013a1df1dfe9bc77903f048a80b4a2078fd37f Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Mon, 27 Nov 2017 18:37:57 +0100
Subject: [PATCH] Deprecate add_dumux_test. Use dune_add_test instead.

---
 cmake/modules/DumuxTestMacros.cmake | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmake/modules/DumuxTestMacros.cmake b/cmake/modules/DumuxTestMacros.cmake
index ef5d538174..6777ecef70 100644
--- a/cmake/modules/DumuxTestMacros.cmake
+++ b/cmake/modules/DumuxTestMacros.cmake
@@ -13,6 +13,9 @@
 # - further arguments:            are optional and are used as arguments for calling the test
 ###
 macro(add_dumux_test dumux_test dumux_test_executable dumux_test_executable_source)
+
+  message(WARNING "add_dumux_test is deprecated. Use dune_add_test directly now that we require dune 2.5")
+
   # if present, symlink the grids folder
   set(grids_directory ${CMAKE_CURRENT_SOURCE_DIR}/grids)
   if(EXISTS ${grids_directory} AND IS_DIRECTORY ${grids_directory})
-- 
GitLab