-
Notifications
You must be signed in to change notification settings - Fork 280
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
test: detect netmod and enable netmod-specific tests #5981
Conversation
test:mpich/ch4/most |
Added test:mpich/ch4/ofi |
Define specific macros so we can have tests specific to certain netmod.
When MPICH_CH4_OFI is not define, the test reduce to a dummy test.
test:mpich/ch4/ofi EDIT: looks good
|
test:mpich/ch4/most |
Some tests are skipped by checking configure macros. Let runtests to recognize special output "Test Skipped" so we can tell from test report whether a test is skipped or actually ran.
1 failure Retest -- |
I think its probably fine. I don't know if using |
Hmm, I guess If |
I think the current method is fine, then. No need to change anything. |
The commits in this PR has already been merged as part of #5946 |
Pull Request Description
Some tests, currently the test
impls/mpich/threads/pt2pt/multinic_infohints
will only work withch4:ofi
. Detect the netmod in configure and use macro to guard the test against other device or netmod.Future TODO:
#ifdef
ed out test to printTest Skipped
and letruntest
to recognize it.[skip warnings]
Author Checklist
Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
Commits are self-contained and do not do two things at once.
Commit message is of the form:
module: short description
Commit message explains what's in the commit.
Whitespace checker. Warnings test. Additional tests via comments.
For non-Argonne authors, check contribution agreement.
If necessary, request an explicit comment from your companies PR approval manager.