Skip to content

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