Skip to content

[cmake] Improvements to ctest (regex output checks)

Lars Bilke requested to merge bilke/ogs:cmake-pass-regex into master

You can now use the following properties on tests:

Usage e.g.:

    PROJECTFILE Parabolic/ComponentTransport/MultiLayerDiffusion/1D_MultiLayerDiffusion_fail_no_mat_ids.xml
    PASS_REGULAR_EXPRESSION "More than one porous medium definition.*but no MaterialIDs are present in the bulk mesh"

Also simplified internal logic a bit: There is now only one wrapper for AddTest, OgsTest and Notebooktest.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behaviour change was documented?
Edited by Lars Bilke

Merge request reports