]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tests: Add a test that checks the *.prm mechanism
authorMatthias Maier <tamiko@43-1.org>
Wed, 21 Mar 2018 15:06:05 +0000 (10:06 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 21 Mar 2018 15:07:48 +0000 (10:07 -0500)
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
tests/a-framework/dummy.cc [new file with mode: 0644]
tests/a-framework/parameter_file_1.output [new file with mode: 0644]
tests/a-framework/parameter_file_1.prm [new file with mode: 0644]

index 86d7346a4c17a1bf8c9b7ed7cc244141c1ba455f..98ae7ac54cc6225db94cd4744cf3f372dbd37e89 100644 (file)
@@ -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 (file)
index 0000000..f8b643a
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/tests/a-framework/parameter_file_1.prm b/tests/a-framework/parameter_file_1.prm
new file mode 100644 (file)
index 0000000..e69de29

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.