From: Matthias Maier Date: Wed, 21 Mar 2018 15:06:05 +0000 (-0500) Subject: Tests: Add a test that checks the *.prm mechanism X-Git-Tag: v9.0.0-rc1~281^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c62711b164e92b282e74a425d956c971ba38768;p=dealii.git Tests: Add a test that checks the *.prm mechanism This small test checks whether the testsuite correctly picks up a test consisting of parameter_file.prm parameter_file.output --- diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt index 86d7346a4c..98ae7ac54c 100644 --- a/tests/a-framework/CMakeLists.txt +++ b/tests/a-framework/CMakeLists.txt @@ -1,6 +1,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) INCLUDE(../setup_testsubproject.cmake) PROJECT(testsuite CXX) + +ADD_EXECUTABLE(dummy dummy.cc) +SET(TEST_TARGET "dummy") DEAL_II_PICKUP_TESTS() # diff --git a/tests/a-framework/dummy.cc b/tests/a-framework/dummy.cc new file mode 100644 index 0000000000..f8b643afbf --- /dev/null +++ b/tests/a-framework/dummy.cc @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} diff --git a/tests/a-framework/parameter_file_1.output b/tests/a-framework/parameter_file_1.output new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/a-framework/parameter_file_1.prm b/tests/a-framework/parameter_file_1.prm new file mode 100644 index 0000000000..e69de29bb2