8000 tests: fix argument passing to scr_run.py by jameshcorbett · Pull Request #554 · LLNL/scr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tests: fix argument passing to scr_run.py #554

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

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

jameshcorbett
Copy link
Collaborator

Problem: the scr_run_py.sh script sometimes passes an extra argument to scr_run.py. The script passes "$@", which comes out to the string "" when $@ is empty. The string is forwarded on and eventually causes an error in 'test_api_multiple.c'.

Solution: when $@ is empty, don't pass anything to scr_run.py.

Problem: the scr_run_py.sh script sometimes passes an extra argument
to scr_run.py. The script passes \"$@\", which comes out to the
string "" when $@ is empty. The string is forwarded on and eventually
causes an error in 'test_api_multiple.c'.

Solution: when $@ is empty, don't pass anything to scr_run.py.
@adammoody adammoody merged commit 75ad91d into LLNL:develop Oct 18, 2023
@jameshcorbett jameshcorbett deleted the flux-test-fixes branch February 4, 2025 20:09
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
0