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

Testsuite: use ./serial subdirectory #16551

Merged
merged 2 commits into from Jan 27, 2024

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Jan 26, 2024

As suggested by @peterrum

- CMake: update comments
- CMake: deal_ii_add_test(): use ./serial subdirectory for output of serial tests

@tamiko tamiko changed the title Testsuite: use "./serial" subdirectory Testsuite: use ./serial subdirectory Jan 26, 2024
Copy link
Member

@peterrum peterrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this 👍

Copy link
Member

@blaisb blaisb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this. It uniformize the behavior between serial and mpi (or other test). This is a good change. However, this will break all of our user test suites

@drwells drwells merged commit 64d668f into dealii:master Jan 27, 2024
14 of 15 checks passed
blaisb added a commit to chaos-polymtl/lethe that referenced this pull request Jan 29, 2024
Description of the problem
Deal.II introduced a serial folder for serial tests. This is a very good idea because it introduces uniformity when we have serial and mpitests. However, this is not maintainable if we have deal.II 9.5 and 9.6 working. The PR is this one: Testsuite: use ./serial subdirectory dealii/dealii#16551

Description of the solution
For the time being, all tests that have files are given the label mpirun=1 before their output. As such, their behavior is identical between 9.5 and 9.6. This ensures that the tests are working correctly. Once we migrate away from deal.II 9.5 (this summer) this idea could be reverted to use the regular serial folders. This is an adequate fix for the time being.
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.

None yet

5 participants