precice / systemtests

Testing preCICE / solver combinations using Docker
GNU General Public License v3.0
3 stars 4 forks source link

Change all test output to exported preCICE output only #256

Closed Eder-K closed 3 years ago

Eder-K commented 3 years ago

Closes #252 .

This PR adjusts the output of all tests. Every participant now produces an additional output folder precice-output containing coupling data (see in https://github.com/precice/precice/wiki/Exports-Configuration).

When comparing to reference files, now only logfiles and the new precice-output will be considered. To accomodate for the changed output, other adjustments have been made to several scripts:

The systemtesting.py script will deliberately ingore ...-events-summary.log and ldd.log files when starting a file comparison. This is done with a list of regex patterns which can be adjusted in the future. The comparison bash script now checks if a numeric value is sufficiently large before attempting to compare. Currently, the threshold is set to 10E-12, values below that will be assumed to be zero and thus ignored.