Move Benchmark Tests to Subdirectory - #7282
Conversation
|
I can already see that some of the tests moved here are the same as tests moved in #7281 (such as the My opinion is that a |
I think an easier way to decide is to look at the directory structure: if it is in ./benchmarks/ it is a benchmark. Otherwise, it goes into cookbooks. Can you verify? |
505f583 to
1f51b90
Compare
|
I just wanted to comment that #7158 is almost ready to merge and will likely create conflicts with this PR. Since #7158 has been in preparation for a while and touches a lot more tests than this PR I would like to merge it first. Afterwards this needs to be rebased and conflicts resolved (it is just a single line in the tests .prms that is different). |
|
@gassmoeller Thanks for the heads up! Lots of conflicts yes 😅 This PR is not pressing though, so if there are any other PR's from the hackathon where merging this PR first would cause a headache this can wait until they are done. I just wanted to get the process started while it was still on my mind. |
9f6310d to
a53d446
Compare
|
@tjhei @gassmoeller The testers should pass now, the includes for some of the .cc and .prm files had to be updated in this PR and in #7281. |
|
/rebuild |
gassmoeller
left a comment
There was a problem hiding this comment.
Thanks for tackling this. I have a few questions about some of the tests. The general direction is right, I just wasnt sure if these particular tests should move into the benchmarks folder. Let me know what you think about them.
There was a problem hiding this comment.
I think latent_heat is a cookbook, not a benchmark?
There was a problem hiding this comment.
Yes good catch!
There was a problem hiding this comment.
I dont see this one in the list of benchmark folders, but maybe it just has a different name? I cant check the content of the file on the Github website at the moment (too many tests in one folder :-)). Could you check?
There was a problem hiding this comment.
This test is for the geoid-spectral-comparison benchmark directory!
There was a problem hiding this comment.
same question as for spectral_comparison. If this is just a different name, but it does test one of the benchmarks in the benchmarks directory, could we change the name to reflect that? Or is it just testing a benchmark that is in one of the subdirectories inside benchmarks/?
There was a problem hiding this comment.
This is also a cookbook! Updated in #7281
There was a problem hiding this comment.
yes good catch!
There was a problem hiding this comment.
I think the whole suite of vof tests are also not part of the benchmarks directory, or did I not see them? volume_of_fluid could also become its own tests category, given how separate it is from the rest of the code base. Maybe leave it in the general directory for now?
There was a problem hiding this comment.
I'll create a new sub-directory for all volume of fluid tests in a follow up PR.
|
The benchmarks that do not seem to have an associated test are: advection particle distributions and intergrators probably have tests buried in the |
511e5e9 to
1dc2141
Compare
Move the benchmark tests into the benchmarks subdirectory.
AI identified tests to move into the subdirectory