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

Make sure that make_options contain useful input #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

2maz
Copy link
Member

@2maz 2maz commented Dec 20, 2018

An encountered error case was make_options = "''" while testing orocos.rb with Travis

An encountered error case was make_options = "''"
test_options = [1]
test_options << Autobuild::Orogen.transports.join(" ")
make_options = make_options.join("' '")
if make_options =~ /[a-zA-Z0-9]/
Copy link
Member

Choose a reason for hiding this comment

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

This way you test for "useful input" looks very weird. Unless invoke_make_parallel is broken, the one normal case where the problem you noticed would happen is if make_options is empty. Would that be the case ? If yes, maybe just test for it ?

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