test-bot: add --skip-relocation flag
Closes #410. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
d4e8d3df0a
commit
91a225eef1
@ -11,6 +11,7 @@
|
||||
# --junit: Generate a JUnit XML test results file.
|
||||
# --no-bottle: Run brew install without --build-bottle.
|
||||
# --keep-old: Run brew bottle --keep-old to build new bottles for a single platform.
|
||||
# --skip-relocation: Run brew bottle --skip-relocation to build new bottles for homebrew/portable.
|
||||
# --HEAD: Run brew install with --HEAD.
|
||||
# --local: Ask Homebrew to write verbose logs under ./logs/ and set HOME to ./home/.
|
||||
# --tap=<tap>: Use the git repository of the given tap.
|
||||
@ -580,6 +581,7 @@ module Homebrew
|
||||
if formula.stable? && !ARGV.include?("--fast") && !ARGV.include?("--no-bottle") && !formula.bottle_disabled?
|
||||
bottle_args = ["--verbose", "--json", formula_name]
|
||||
bottle_args << "--keep-old" if ARGV.include? "--keep-old"
|
||||
bottle_args << "--skip-relocation" if ARGV.include? "--skip-relocation"
|
||||
test "brew", "bottle", *bottle_args
|
||||
bottle_step = steps.last
|
||||
if bottle_step.passed? && bottle_step.has_output?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user