diff options
| author | Martin Afanasjew | 2016-07-04 17:41:14 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-07-04 17:41:14 +0200 |
| commit | dba1958bd79c1c9d18f215dfc2b806ea62edd1c8 (patch) | |
| tree | 3dcf267c146d031230114d539a7a478d7908f1db /Library/Homebrew/cmd | |
| parent | fe29cc2920b456df3b008686d38cd8f0352c5d30 (diff) | |
| download | brew-dba1958bd79c1c9d18f215dfc2b806ea62edd1c8.tar.bz2 | |
Revert "Test officially supported cmd taps. (#390)"
This reverts commit 252c701c59227c385ef6178fe99523cca8c843bb.
Taps installed prior to running the test suite are not visible to the
test suite as most Homebrew paths are redefined as to not mess up the
local installation.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/tests.rb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb index 2e6bb647b..ae10f0f7a 100644 --- a/Library/Homebrew/cmd/tests.rb +++ b/Library/Homebrew/cmd/tests.rb @@ -1,23 +1,13 @@ #: @hide_from_man_page -#: * `tests` [`-v`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script/test_method>] [`--seed` <seed>] [`--trace`] [`--online`] [`--official-cmd-taps`]: +#: * `tests` [`-v`] [`--coverage`] [`--generic`] [`--no-compat`] [`--only=`<test_script/test_method>] [`--seed` <seed>] [`--trace`] [`--online`]: #: Run Homebrew's unit and integration tests. require "fileutils" -require "tap" module Homebrew def tests - ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1" - - if ARGV.include? "--official-cmd-taps" - ENV["HOMEBREW_TEST_OFFICIAL_CMD_TAPS"] = "1" - OFFICIAL_CMD_TAPS.each do |tap, _| - tap = Tap.fetch tap - tap.install unless tap.installed? - end - end - (HOMEBREW_LIBRARY/"Homebrew/test").cd do + ENV["HOMEBREW_NO_ANALYTICS_THIS_RUN"] = "1" ENV["TESTOPTS"] = "-v" if ARGV.verbose? ENV["HOMEBREW_NO_COMPAT"] = "1" if ARGV.include? "--no-compat" ENV["HOMEBREW_TEST_GENERIC_OS"] = "1" if ARGV.include? "--generic" |
