aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlyssa Ross2016-09-20 13:48:38 +0100
committerAlyssa Ross2016-09-20 13:48:38 +0100
commit651303f62df934d61dd3c317b84b417537d91d8b (patch)
tree41b0e0f4cc14fd415df26aedbb343ffd66f7cd40 /Library
parent1c4ae988232050ac22785fe062f3c912ed70cdfc (diff)
downloadbrew-651303f62df934d61dd3c317b84b417537d91d8b.tar.bz2
cask-tests: re-add removed comment
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cask/cmd/brew-cask-tests.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/cmd/brew-cask-tests.rb b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
index 283b8516a..019c3ca24 100755
--- a/Library/Homebrew/cask/cmd/brew-cask-tests.rb
+++ b/Library/Homebrew/cask/cmd/brew-cask-tests.rb
@@ -16,7 +16,10 @@ repo_root.cd do
rspec = ARGV.flag?("--rspec") || !ARGV.flag?("--minitest")
minitest = ARGV.flag?("--minitest") || !ARGV.flag?("--rspec")
+ # TODO: setting the --seed here is an ugly temporary hack, to remain only
+ # until test-suite glitches are fixed.
ENV["TESTOPTS"] = "--seed=14830" if ENV["TRAVIS"]
+
ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.flag?("--coverage")
if rspec