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

Loop over all Butcher tables to test order #488

Merged
merged 6 commits into from
May 23, 2024
Merged

Conversation

Steven-Roberts
Copy link
Collaborator

Switches from a vector of table names (which was often not updated) to iterating over the enum of tables so methods get included in this test automatically.

@Steven-Roberts
Copy link
Collaborator Author

Is there any need to do outfile checking for this test? Isn't the return code of the test enough?

@drreynolds
Copy link
Collaborator

Is there any need to do outfile checking for this test? Isn't the return code of the test enough?

That's a good question, since I also do not fully understand the use of .out files versus return flags in test/unit_tests.

drreynolds
drreynolds previously approved these changes May 20, 2024
Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

Once this passes the CI tests (it may need a new .out file, either in this repo or in the answers repo), this looks good to me.

@balos1 balos1 added this to the SUNDIALS Next milestone May 23, 2024
@balos1 balos1 merged commit 69896d0 into develop May 23, 2024
22 checks passed
@balos1 balos1 deleted the feature/test-all-tables branch May 23, 2024 15:44
gardner48 pushed a commit to sundials-codes/answers that referenced this pull request May 23, 2024
@gardner48
Copy link
Member

@Steven-Roberts A couple of follow-on items to this PR:

  • Note the addition of ARKodeButcherTable_ERKIDToName and ARKodeButcherTable_DIRKIDToName in the change log and recent changes
  • Add .. versionadded: x.y.z to the documentation for ARKodeButcherTable_ERKIDToName and ARKodeButcherTable_DIRKIDToName
  • Update the test/answers commit to 2004a4042d8f730073bac084d601e083fca0c5bf

@gardner48
Copy link
Member

  • Update the test/answers commit to 2004a4042d8f730073bac084d601e083fca0c5bf

Actually, no need to update test/answers the commit will be updated by #474

@Steven-Roberts
Copy link
Collaborator Author

Ok, looks like I'll need a separate PR to do that now that this is merged.

@balos1
Copy link
Member

balos1 commented May 23, 2024

.. versionadded: x.y.z

I always forget about this nice sphinx feature

gardner48 added a commit that referenced this pull request May 24, 2024
Address a couple missing things noted in #488 after it was merged.

---------

Co-authored-by: David Gardner <gardner48@llnl.gov>
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

4 participants