]> https://gitweb.dealii.org/ - dealii.git/commit
Testsuite: add configurable executables to DEAL_II_ADD_TEST 1246/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 4 Aug 2015 02:16:35 +0000 (21:16 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 4 Aug 2015 02:48:40 +0000 (21:48 -0500)
commitf2d6fb0fec1f5a562b8e1244acb9321ff73c9913
tree0799130d7d9da8792cdf7f339bfb7bdfc334e81b
parent005697299d23bed76ccc4573f78ff339ae2ff6dc
Testsuite: add configurable executables to DEAL_II_ADD_TEST

This commit adds a second type of tests to the testsuite that consists of a
parameter file "test.prm" with an output file "test.<...>.output". It
assumes that a cmake variable

  TEST_TARGET (or TEST_TARGET_DEBUG and TEST_TARGET_RELEASE)

is defined and will invoke said target with the full path to the parameter
file. (The first type of tests consist of a source file "test.cc" instead,
that is compiled and linked.)
cmake/macros/macro_deal_ii_add_test.cmake

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.