Skip to content

Restructure integration tests#1205

Merged
davidscn merged 69 commits intodevelopfrom
1149-restructure-integration-tests
Mar 28, 2022
Merged

Restructure integration tests#1205
davidscn merged 69 commits intodevelopfrom
1149-restructure-integration-tests

Conversation

@davidscn
Copy link
Copy Markdown
Member

@davidscn davidscn commented Mar 16, 2022

Main changes of this PR

Restructure the serial and parallel integration tests as discussed in #1149.

Motivation and additional information

Depends on #1202

Author's checklist

  • I added a changelog file with make changelog if there are user-observable changes since the last release.
  • I ran make format to ensure everything is formatted correctly.
  • I sticked to C++14 features.
  • I sticked to CMake version 3.10.
  • I squashed / am about to squash all commits that should be seen as one.
  • Open issue on unmaintained tests (e.g. the parallel multi-coupling tests)

Reviewers' checklist

  • Does the changelog entry make sense? Is it formatted correctly?
  • Do you understand the code changes?

fsimonis and others added 30 commits March 10, 2022 18:19
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
@davidscn davidscn marked this pull request as ready for review March 24, 2022 22:14
@davidscn davidscn added the maintainability Working on this will make our lives easier in the long run as preCICE gets easier to maintain. label Mar 24, 2022
@davidscn davidscn linked an issue Mar 24, 2022 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@BenjaminRodenberg BenjaminRodenberg left a comment

Choose a reason for hiding this comment

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

Already looks very good.

Open points I see here:

  • In ParallelTests.cpp and SerialTests.cpp there is still dead code. @fsimonis can you comment here? We should either revive the tests, open an issue or delete them (we can still revive them later from the history). 503ecca and bd0e158 are the relevant commits here from my perspective.
  • Are the remaining configuration files in precice/tests actually needed? If not, we should also delete them. explicit-direct-access-two-level.xml seems to be unused; cplmode-1.xml is also unused; explicit-mpi-single-non-inc.xml is only used by a commented out test. config-checker.xml is fine, because it is used by ToolingTests.cpp.

@davidscn
Copy link
Copy Markdown
Member Author

The ParallelTests are actually already a TODO in the checklist on top. The dead SerialTests are somewhat of a crime by @fsimonis and I don't know what to do with them. I will clean-up the xml files.

@fsimonis
Copy link
Copy Markdown
Member

@davidscn don't shoot the one that formatted the entire codebase. 😁

@fsimonis
Copy link
Copy Markdown
Member

@davidscn you can remove the resetMesh serial tests, I will implement a complete test suite instead. This closes #1100

@uekerman @oguzziya Do you remember why the parallel tests regarding multi-coupling-schemes were disable in 8354dab?

@davidscn
Copy link
Copy Markdown
Member Author

@fsimonis No shots fired ;)

Do you remember why the parallel tests regarding multi-coupling-schemes were disable in 8354dab?

Answer from @oguzziya was

they are to be added once precice/precice#1025 also works for a parallel "controller"/ the cases were supposed to be failing right now

I will open up an issue on that.

Copy link
Copy Markdown
Contributor

@BenjaminRodenberg BenjaminRodenberg left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Minor comments below, but from my perspective this is good to go.

Comment thread docs/changelog/1205.md Outdated
Comment thread src/tests.cmake
Co-authored-by: Benjamin Rodenberg <[email protected]>
@davidscn davidscn merged commit b3cc263 into develop Mar 28, 2022
@davidscn davidscn deleted the 1149-restructure-integration-tests branch March 28, 2022 19:09
@fsimonis fsimonis mentioned this pull request Mar 29, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainability Working on this will make our lives easier in the long run as preCICE gets easier to maintain.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move all integration tests to new structure

3 participants