avoid backtrace when configuring fails during autoconf

This commit is contained in:
Josh Holtrop 2019-10-14 22:23:18 -04:00
parent 397639849d
commit e62332aba6
2 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,8 @@ module Rscons
end
if rv == 0
build(operation_options)
else
rv
end
when "clean"
clean

View File

@ -2257,6 +2257,7 @@ EOF
result = run_rscons(rsconscript: "autoconf_fail.rb")
expect(result.stdout).to match /Checking for C compiler\.\.\. not found/
expect(result.status).to_not eq 0
expect(result.stderr).to_not match /from\s/
end
it "exits with an error if configuration has not been performed before attempting to create an environment" do