-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
hiop: Corrected test name, added docstring, and changed test to new API #44765
base: develop
Are you sure you want to change the base?
Conversation
==> [2024-06-18-13:11:34.639159] Completed testing |
@ryandanehy can you review this PR? This PR modifies the following package(s), for which you are listed as a maintainer:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice first try. See comments.
======================== SUMMARY: hiop-develop-vvcm776 ========================= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I defer to @tldahlgren since they are more of an expert in spack testing than I
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's looking good. Just a couple of more changes remaining.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor tweak.
) | ||
for i, args in enumerate(options): | ||
with test_part( | ||
self, f"test_{exName}_{i+1}", purpose="{0} {1}".format(str(exe), " ".join(args)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 I now regret suggesting inclusion of {exe}
in the purpose as it is very messy with the entire path. Better to just output the joining of the args.
test: test_NlpMdsEx1.exe_2: $spack/opt/spack/linux-rhel8-x86_64_v3/gcc-12.1.1/hiop-1.0.3-vecd7zfgdeksyfqdlm32n5feamcehcpi/bin/NlpMdsEx1.exe 400 100 1 -selfcheck
There's also some redundancy with the output from Spack's Executable
but the documentation for the examples seems pretty sparse so can't really get something more useful there.
Supersedes #35751