From: Matthias Maier Date: Mon, 16 Sep 2013 09:25:43 +0000 (+0000) Subject: Bugfixes and last documentation update X-Git-Tag: v8.1.0~570^2~327 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46d83dfd1f4757961c52267963848d52cb878e74;p=dealii.git Bugfixes and last documentation update git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30726 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/README b/tests/README index c72e7785e8..349a7c47c1 100644 --- a/tests/README +++ b/tests/README @@ -135,12 +135,41 @@ tests as discussed below. CMake configuration variables for the testsuite ----------------------------------------------- -TODO: Document the following options: - # TODO: Describe and document the following: - # TEST_DIFF - # TEST_TIME_LIMIT - # TEST_PICKUP_REGEX - # NUMDIFF_DIR +The testsuite has the following options: + + TEST_DIFF + - the diff tool and command line to use for comparison. If numdiff is + available it defaults to "numdiff -a 1e-6 -q", otherwise plain diff + is used. + + TEST_TIME_LIMIT + - The time limit (in seconds) a single test is allowed to run. Defaults + to 180 seconds + + TEST_PICKUP_REGEX + - A regular expression to filter tests. If this is a nonempty string + only tests that match the regular expression will be set up. An empty + string is interpreted as a catchall. + +These options can be set as environment variables prior to the call to the +setup_test target: + + TEST_PICKUP_REGEX="build_tests/" TEST_TIME_LIMIT="120" make setup_test + +Note: Specifying these options via environment variables is volatile, i.e. +if $ make setup_test is invoked a second time without the variables set in +environment, the option will be reset to the default value. + +If you want to set these options permanently, set them via cmake as CMake +variable in the build directory: + + # cmake -DTEST_PICKUP_REGEX="