avoid backtrace when configuring fails during autoconf
This commit is contained in:
parent
397639849d
commit
e62332aba6
@ -75,6 +75,8 @@ module Rscons
|
|||||||
end
|
end
|
||||||
if rv == 0
|
if rv == 0
|
||||||
build(operation_options)
|
build(operation_options)
|
||||||
|
else
|
||||||
|
rv
|
||||||
end
|
end
|
||||||
when "clean"
|
when "clean"
|
||||||
clean
|
clean
|
||||||
|
@ -2257,6 +2257,7 @@ EOF
|
|||||||
result = run_rscons(rsconscript: "autoconf_fail.rb")
|
result = run_rscons(rsconscript: "autoconf_fail.rb")
|
||||||
expect(result.stdout).to match /Checking for C compiler\.\.\. not found/
|
expect(result.stdout).to match /Checking for C compiler\.\.\. not found/
|
||||||
expect(result.status).to_not eq 0
|
expect(result.status).to_not eq 0
|
||||||
|
expect(result.stderr).to_not match /from\s/
|
||||||
end
|
end
|
||||||
|
|
||||||
it "exits with an error if configuration has not been performed before attempting to create an environment" do
|
it "exits with an error if configuration has not been performed before attempting to create an environment" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user