Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System tests: Enable preCICE debug messages and symbols via an argument #587

Merged
merged 7 commits into from
Nov 14, 2024

Conversation

MakisH
Copy link
Member

@MakisH MakisH commented Nov 11, 2024

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., to optimized-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 and trace log files for every tutorial.

Respective system tests job: https://github.com/precice/tutorials/actions/runs/11798415337

closes #586

Checklist:

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@MakisH MakisH requested a review from fsimonis November 11, 2024 21:13
@MakisH MakisH self-assigned this Nov 11, 2024
@MakisH MakisH merged commit 04fa4ca into develop Nov 14, 2024
1 check passed
@MakisH MakisH deleted the system-tests-debug branch November 14, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System tests: Write preCICE debug logs
2 participants