From 64a9f1ba57bc0f15ed2606ac6b80fb3fd38d952b Mon Sep 17 00:00:00 2001
From: guido The deal.II testsuite consists of two parts, the build tests and
+ the regression tests. While the build tests just check if the
+ library can be compiled on different systems, the regression tests
+ actually are actually run and compare the output of the testy
+ programs with precomputed values. These two testsuites are
+ described below. With our build tests, we check if deal.II can be compiled on
+ different systems and with different compilers as well as
+ different configuration options. Results are collected in a
+ database and can be accessed online.
+
+ Running the build test suite is simple and we encourage deal.II
+ users with configurations not found on the build test page to
+ participate. Assuming you checked out deal.II into the directory
+ After cleaning up the directory and updating the library to the
+ most recent version, the If your compiler is not in the standard path or has a strange
+ name (like
deal.II has a testsuite that, at the time this article is written,
@@ -39,7 +98,7 @@
To run the testsuite, you first need CVS access to our source
@@ -207,7 +266,7 @@
-
As mentioned above, we usually add a new test these days every
@@ -218,7 +277,7 @@
.
For the testcase, we usually start from a template like this:
The deal.II Testsuite
+
+ The build tests
+
+ dealtest
, running it is as simple as:
+
+ cd dealtest
+ make clean
+ cvs update -d -P
+ make build-test BUILDTESTFLAGS='-with-umfpack -with-lapack'
+ mail build-tests@dealii.org < build-test-log
+
+
+
+ make
command configures the
+ library (here for use of UMFPack and LAPACK libraries) and
+ compiles everything. The result is in the file
+ build-test-log
, Which is sent to the build test demon
+ in the end.Configuring for a special compiler
+
+ mycc
for C and myCC
for C++),
+ your template would be something like this:
+
+ export PATH=/my/compiler/path:$PATH
+
+ cd dealtest
+ make clean
+ cvs update -d -P
+ make build-test BUILDTESTFLAGS='CC=mycc CXX=myCC'
+ mail build-tests@dealii.org < build-test-log
+
+
+
+
+ The regression tests
Running it
+ Running it
Adding new tests
+ Adding new tests
The testcase
+ The testcase
@@ -288,7 +347,7 @@ int main ()
In order for the Makefiles to pick up your new test, you have to @@ -315,7 +374,7 @@ int main () -
If you run your new test executable, you will get an output file @@ -368,7 +427,7 @@ int main () -
Tests are a way to make sure everything keeps working. If they @@ -389,7 +448,7 @@ int main ()
-If you are working on a system or with a compiler for which test -- 2.39.5