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

end delimiter added when not needed #51

Closed
mikaelarguedas opened this issue Apr 13, 2017 · 2 comments
Closed

end delimiter added when not needed #51

mikaelarguedas opened this issue Apr 13, 2017 · 2 comments
Labels
bug Something isn't working

Comments

@mikaelarguedas
Copy link
Member

The logic for adding -- automatically at the end of the argument line seems to still be too simple for some edge cases.
I tried to pass --parallel --cmake-args -DSECURITY=ON -- --end-with rmw_fastrtps_cpp to CI and tried to run:
/usr/local/bin/python3 -u run_ros2_batch.py --do-venv --force-ansi-color --workspace-path /Users/osrf/jenkins/workspace/ci_osx --connext --disable-connext-dynamic --fastrtps --isolated --ament-build-args --parallel --cmake-args -DSECURITY=ON -- --end-with rmw_fastrtps_cpp -- --ament-test-args --retest-until-pass 10 --end-with rmw_fastrtps_cpp -- and failed with error: unrecognized arguments: --end-with rmw_fastrtps_cpp --

My conclusion is that greedy argument has to be the last otherwise triple hyphen should be used as defined in osrf_pycommon

Link to job with greedy arg in the middle: http://ci.ros2.org/job/ci_osx/1901/console#console-section-1
Link to job with greedy arg as last arg: http://ci.ros2.org/job/ci_osx/1902/consoleFull#console-section-1

@mikaelarguedas mikaelarguedas added the bug Something isn't working label Apr 26, 2017
@mikaelarguedas
Copy link
Member Author

As @dirk-thomas experienced this morning, this issue is still not resolved so if you're adding arguments to a ci job make sure to add them before the --cmake-args -DSECURITY=ON -- and not after.

@mikaelarguedas
Copy link
Member Author

I believe this has been fixed in #86 feel free to reopen if delimiter error show up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant