aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/tests.rb')
-rw-r--r--Library/Homebrew/cmd/tests.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb
index 62182aebe..36037c886 100644
--- a/Library/Homebrew/cmd/tests.rb
+++ b/Library/Homebrew/cmd/tests.rb
@@ -3,6 +3,7 @@ module Homebrew
(HOMEBREW_LIBRARY/"Homebrew/test").cd do
ENV["TESTOPTS"] = "-v" if ARGV.verbose?
ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.include? "--coverage"
+ ENV["HOMEBREW_NO_COMPAT"] = "1" if ARGV.include? "--no-compat"
Homebrew.install_gem_setup_path! "bundler"
quiet_system("bundle", "check") || \
system("bundle", "install", "--path", "vendor/bundle")