System tests: Enable preCICE debug messages and symbols via an argument #587
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds an additional argument to the system tests to pass the CMake preset to the preCICE build. It defaults to
production-audit
, which also enables debug messages, but one could then manually switch it, e.g., tooptimized-debug
.My motivation for making this an argument is that we should be testing something close to the user, but sometimes it would be useful to get additional debug symbols (e.g., in the coredump file that is included in the archive). Note that for this we would also need to get the binary from the Docker container. This is a bit more complicated, but we could get it from the VM, if needed.
It also now writes
debug
andtrace
log files for every tutorial.Respective system tests job: https://github.com/precice/tutorials/actions/runs/11798415337
closes #586
Checklist:
changelog-entries/<PRnumber>.md
.