From: Matthias Maier
In a similar vain as for build configurations, it is possible to restrict
- tests to specific feature configurations, e.g.:
+ tests to specific feature configurations, e.g.,
category/test.output
:
-category/test.[compiler=<regex>=<yes|no>.]*[with_<feature>=<on|off>.]*[mpirun=<x>.][expect=<y>.][binary.][<debug|release>.]output
+category/test.[compiler=<regex>=<yes|no>.]*[with_<feature>=<on|off|<version>>.]*[mpirun=<x>.][expect=<y>.][binary.][<debug|release>.]output
Normally, a test will be set up so that it runs twice, once in debug and
once in release configuration.
@@ -507,18 +507,28 @@ category/test.compiler=ICC-14=no.output
Restricting tests to feature configurations
category/test.with_umfpack=on.output, or
category/test.with_zlib=off.output
These tests will only be set up if the specified feature was configured.
It is possible to provide different output files for disabled/enabled
- features, e.g.
+ features, e.g.,
category/test.with_64bit_indices=on.output
category/test.with_64bit_indices=off.output
+ Furthermore, a test can be restricted to be run only for a specific
+ minimum version of a feature being available being available. For example
+
+category/test.with_trilinos=11.14.1.output
+
+ will only be run if (a) trilinos is available, i.e.,
+ DEAL_II_WITH_TRILINOS=TRUE
and (b) if trilinos is at least
+ of version 11.14.1.
+
It is also possible to declare multiple constraints subsequently, e.g.
category/test.with_umfpack=on.with_zlib=on.output