Merge pull request #1960 from Project-OSRM/cucumber-exit-early
Ensure key command line programs can be run before running cucumber tests
This commit is contained in:
commit
7d0955c0f4
@ -76,6 +76,10 @@ def verify_existance_of_binaries
|
|||||||
unless File.exists? "#{BIN_PATH}/#{bin}#{EXE}"
|
unless File.exists? "#{BIN_PATH}/#{bin}#{EXE}"
|
||||||
raise "*** #{BIN_PATH}/#{bin}#{EXE} is missing. Build failed?"
|
raise "*** #{BIN_PATH}/#{bin}#{EXE} is missing. Build failed?"
|
||||||
end
|
end
|
||||||
|
unless system "#{BIN_PATH}/#{bin}#{EXE} --help"
|
||||||
|
log "*** Exited with code #{$?.exitstatus}.", :preprocess
|
||||||
|
raise "*** #{BIN_PATH}/#{bin}#{EXE} --help exited with code #{$?.exitstatus}."
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user