aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2016-05-08 17:12:14 +0100
committerMike McQuaid2016-05-08 17:12:14 +0100
commitbb7226060681d287619981940a78302beed1c1d6 (patch)
tree5fe0ba8a14bf3fb0fd002931b9baca1bb1975216 /Library/Homebrew
parent61614d35294c8faffaeb5c7f0ec6dea78dbbc30f (diff)
downloadbrew-bb7226060681d287619981940a78302beed1c1d6.tar.bz2
tests: add generic flag. (#212)
Makes it easier to quickly do tests of the generic/cross-platform backend.
Diffstat (limited to 'Library/Homebrew')
-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 c1d01ca11..e15ed36a8 100644
--- a/Library/Homebrew/cmd/tests.rb
+++ b/Library/Homebrew/cmd/tests.rb
@@ -6,6 +6,7 @@ module Homebrew
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"
if ARGV.include? "--coverage"
ENV["HOMEBREW_TESTS_COVERAGE"] = "1"
FileUtils.rm_f "coverage/.resultset.json"