Merge pull request #13699 from carlocab/rust-backtrace

dev-cmd/test: set `RUST_BACKTRACE` when retrying
This commit is contained in:
Carlo Cabrera 2022-08-16 20:02:55 +08:00 committed by GitHub
commit 7872a6e2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,7 @@ module Homebrew
if args.retry? && @test_failed.add?(f)
oh1 "Testing #{f.full_name} (again)"
f.clear_cache
ENV["RUST_BACKTRACE"] = "full"
true
else
Homebrew.failed = true