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

Testing more borts 2 #383

Merged
merged 14 commits into from
Mar 16, 2023
Merged

Testing more borts 2 #383

merged 14 commits into from
Mar 16, 2023

Conversation

edwardhartnett
Copy link
Contributor

@edwardhartnett edwardhartnett commented Mar 14, 2023

Part of #381.

In this PR I add testing for borts of more functions.

@edwardhartnett edwardhartnett changed the title Ejh error 3 Testing more borts Mar 14, 2023
@edwardhartnett edwardhartnett changed the title Testing more borts Testing more borts 2 Mar 14, 2023
@edwardhartnett edwardhartnett marked this pull request as ready for review March 15, 2023 12:28
C> @param[out] KSUB -- integer: Ordinal number of current data subset
C> within (KMSG)th message, counting from the
C> beginning of the message
C>
C> @author J. Woollen @date 1994-01-06
Copy link
Collaborator

@jbathegit jbathegit Mar 15, 2023

Choose a reason for hiding this comment

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

Just curious, why are you moving the parameter descriptions in all of these routines to be after all of the remarks and discussion? The remarks and discussion notes refer to some of the parameters listed in the parameter descriptions, so it seems more sensible to keep those remarks and notes after the parameter descriptions like they were previously; otherwise, they're talking about concepts that haven't even been introduced yet!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the way it is done in all the NCEPLIBS and I'm trying to maintain a similar look and feel everywhere. Description, parameters, return codes, author is how we do it everywhere else.

# Check codflg().
./test_bort_4 codflg 1
[ $? != 1 ] && exit 1

Copy link
Collaborator

@jbathegit jbathegit Mar 15, 2023

Choose a reason for hiding this comment

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

Shouldn't this run_test_bort.sh script be in the test_scripts subdirectory along with all of the other test scripts, rather than in the test directory with all of the source code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well that is open to discussion.

All the scripts in test_scripts are for utils, and I was planning on moving all of them to a test_utils directory.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually, the test_outtest.sh script (wrapper script for all of the outtest*F90 codes) is also in test_scripts, so it's not just scripts for testing utilities in that directory.

That said, if you wanted to have a separate test_utils directory for all of the utility scripts, and then a separate test_scripts directory containing just your new test_bort.sh script and the test_outtest.sh script, I wouldn't be opposed to that ;-)

@jbathegit jbathegit merged commit ffeff74 into develop Mar 16, 2023
@edwardhartnett edwardhartnett deleted the ejh_error_3 branch March 17, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants