From 9c62711b164e92b282e74a425d956c971ba38768 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 21 Mar 2018 10:06:05 -0500 Subject: [PATCH] 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 --- tests/a-framework/CMakeLists.txt | 3 +++ tests/a-framework/dummy.cc | 4 ++++ tests/a-framework/parameter_file_1.output | 0 tests/a-framework/parameter_file_1.prm | 0 4 files changed, 7 insertions(+) create mode 100644 tests/a-framework/dummy.cc create mode 100644 tests/a-framework/parameter_file_1.output create mode 100644 tests/a-framework/parameter_file_1.prm 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 -- 2.39.5