Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Change all test output to exported preCICE output only#256

Merged
Eder-K merged 30 commits into
EderK-OFv2006from
EderK-export-vtk-only
Oct 23, 2020
Merged

Change all test output to exported preCICE output only#256
Eder-K merged 30 commits into
EderK-OFv2006from
EderK-export-vtk-only

Conversation

@Eder-K
Copy link
Copy Markdown
Contributor

@Eder-K Eder-K commented Oct 13, 2020

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.

@Eder-K Eder-K merged commit e4c3825 into EderK-OFv2006 Oct 23, 2020
Eder-K added a commit that referenced this pull request Oct 24, 2020
* Update installed OF version (v5 -> v2006)

* Source new of bashrc file

* Update openfoam path

* Enable output for OF tests

* Install fenics from default ubuntu package

* Update reference for OFv2006

* Allow fenics to fail

* Use 'pimpleFoam' in line with OF version update

* Update reference

* Add 'build_info.py'

* Add test folder for 20.04 deal.ii-of

* Update reference

* Update reference

* Improve text filter

* Fix numeric error in comparison

* Update error message on missing entries

* Change all test output to exported preCICE output only (#256)

* Change to VTK exported preCICE output

* Enable output for all tests

* Use automatic dependency install

* Use 'make all check'

* Add PKG_CONFIG_PATH

* Fix typo

* Fix unused flag

* Fix sed pattern

* Update reference

* Fix typo

* Update reference

* Use manual fenics install

* Update reference

* Update reference

* Update reference

* Filter hexadecimals

* Update reference

* Skip 'events-summary' type files

* Update reference

* Fix unfinished if clause

* Move log filtering into systemtesting

* Use glob for searching logfiles

* Fix module error

* Print debug output

* Remove ignored logs

* Update reference

* Format debug print

* Allow su2-ccx 20.04 to fail

* Add seperate test folder for su2-ccx 2004

* Check exponent instead of full number

* Update reference
Eder-K added a commit that referenced this pull request Oct 24, 2020
* Add precice builds for Ubuntu 20.04

* Add travis jobs for 20.04 and 16.04 package

* Fix indent

* Add 20.04 to accepted versions

* Adjust boost install

* Make sure install process is noninteractive

* Clear up comments

* Make terminal noninteractive

* Add adapter/test builds for 20.04

* Remove deploy section

* Move docker login step into scripts

* Add Ubuntu2004 to accepted versions

* Simplify push.py call

* Add missing logs folder

* Use 'build_info.py' file to transfer information

* Fix indent

* Fix typo

* Import common

* use repr to capture string delimiters

* Fix bracket

* Remove undefined reference

* Fix folder creation

* Allow ccx adapter 20.04 to fail

* Improve error messages

* Enable output for 1dtube

* Adjust installed spooles package

* Add non-PETSc builds

* Save build info before attempting build

* Correct image version for ccx-adapter

* Remove unused return arguments

* Ignore both 'e' and 'E' from text comparison

* Disable output

* Clean up 20.04 builds

* Install petsc from apt

* Fix typo

* Replace 'is' with '=='

* Fix empty arg error

* Install python3

* Use 20.04 solver version for 20.04 deal.ii adapter

* Add base_solver as optional argument

* Upgrade from OpenFOAM 5 to OpenFOAM v2006 (#255)

* Update installed OF version (v5 -> v2006)

* Source new of bashrc file

* Update openfoam path

* Enable output for OF tests

* Install fenics from default ubuntu package

* Update reference for OFv2006

* Allow fenics to fail

* Use 'pimpleFoam' in line with OF version update

* Update reference

* Add 'build_info.py'

* Add test folder for 20.04 deal.ii-of

* Update reference

* Update reference

* Improve text filter

* Fix numeric error in comparison

* Update error message on missing entries

* Change all test output to exported preCICE output only (#256)

* Change to VTK exported preCICE output

* Enable output for all tests

* Use automatic dependency install

* Use 'make all check'

* Add PKG_CONFIG_PATH

* Fix typo

* Fix unused flag

* Fix sed pattern

* Update reference

* Fix typo

* Update reference

* Use manual fenics install

* Update reference

* Update reference

* Update reference

* Filter hexadecimals

* Update reference

* Skip 'events-summary' type files

* Update reference

* Fix unfinished if clause

* Move log filtering into systemtesting

* Use glob for searching logfiles

* Fix module error

* Print debug output

* Remove ignored logs

* Update reference

* Format debug print

* Allow su2-ccx 20.04 to fail

* Add seperate test folder for su2-ccx 2004

* Check exponent instead of full number

* Update reference

* Disable debug output
@Eder-K Eder-K deleted the EderK-export-vtk-only branch December 12, 2020 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant