aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-05-30 10:49:03 +0100
committerMike McQuaid2016-05-30 10:49:03 +0100
commit055147153654b99798a7adb55b4128344919c3e2 (patch)
treefdcdb59c349a67447d6415e002dad6b28eb4d426 /Library/Homebrew/cmd
parent6f37394e535e1dd51e670eba31b11d541cc225e4 (diff)
downloadbrew-055147153654b99798a7adb55b4128344919c3e2.tar.bz2
tests: no --only minimum coverage requirement. (#299)
This will almost certainly fail every time so let's disable this error.
Diffstat (limited to 'Library/Homebrew/cmd')
-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 e15ed36a8..5310cf186 100644
--- a/Library/Homebrew/cmd/tests.rb
+++ b/Library/Homebrew/cmd/tests.rb
@@ -30,6 +30,7 @@ module Homebrew
args = []
args << "--trace" if ARGV.include? "--trace"
if ARGV.value("only")
+ ENV["HOMEBREW_TESTS_ONLY"] = "1"
test_name, test_method = ARGV.value("only").split("/", 2)
args << "TEST=test_#{test_name}.rb"
args << "TESTOPTS=--name=test_#{test_method}" if test_method