Commit 130c12d4 authored by Lukas Riedel's avatar Lukas Riedel

Add system test for running PFG module

Meta-ini system tests runs all converters and two covariance options
in 2D and 3D and writes all into the same output file.

* Add meta-ini file for test and register it.
* Add empty dorie_pfg testtools Python module.
* Build dorie-rfg executable in CI system-tests build job.
parent 580afc10
......@@ -98,6 +98,7 @@ build:system-tests: &build-tests
script:
- CMAKE_FLAGS="$CMAKE_FLAGS"
$DUNECONTROL --only=dorie configure
- $DUNECONTROL --only=dorie make $MAKE_FLAGS dorie-rfg
- $DUNECONTROL --only=dorie make $MAKE_FLAGS build_system_tests
- $DUNECONTROL --only=dorie make doc
artifacts:
......
......@@ -45,6 +45,7 @@ add_custom_target(test_run_parallel
add_dependencies(test_run_parallel prepare_testing)
# dorie exec tests
dorie_add_metaini_test(TARGET dorie METAINI pfg.mini.in)
dorie_add_metaini_test(TARGET dorie METAINI run.mini.in)
dorie_add_metaini_test(TARGET dorie METAINI plot.mini.in)
......
include ${CMAKE_BINARY_DIR}/doc/default_files/parfield.ini
_converter = none, binary, exponential | expand
_covariance = exponential, gaussian | expand
_dim = 2, 3 | expand dim
__name = exec_pfg-{_converter}-{_covariance}-{_dim}
_test_command = pfg
[general]
outputFile = pfg.h5
dataset = {_converter}-{_covariance}-{_dim}
tempDir = ./pfg-tmp/
converter = {_converter}
[grid]
dimensions = {_dim}
extensions = 1 1, 1 1 1 | expand dim
cells = 50 50, 10 10 10 | expand dim
[stochastic]
seed = 2
covariance = {_covariance}
corrLength = .1 .05, .2 .1 .05 | expand dim
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment