aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-06-07 16:25:07 +0100
committerMike McQuaid2017-06-07 16:25:07 +0100
commit7d5b8a5cea122c09f297dffa6b76187c413a9565 (patch)
tree3731a00951ce2789ef0430ba0e5bd7fa1136134e /Library/Homebrew/dev-cmd
parentcfc40196f22fd07cf62a6f51ee22915485bb4c09 (diff)
downloadbrew-7d5b8a5cea122c09f297dffa6b76187c413a9565.tar.bz2
tests: cleanup tests.
Remove pending tests that are never run on CI (i.e. require `--online`), remove fixtures for those tests and just make `--official-cmd-taps` run by `--online` instead.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/tests.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb
index 13f4d7b1e..924629886 100644
--- a/Library/Homebrew/dev-cmd/tests.rb
+++ b/Library/Homebrew/dev-cmd/tests.rb
@@ -12,10 +12,8 @@
#: If `--no-compat` is passed, do not load the compatibility layer when
#: running tests.
#:
-#: If `--online` is passed, include tests that use the GitHub API.
-#:
-#: If `--official-cmd-taps` is passed, include tests that use any of the
-#: taps for official external commands.
+#: If `--online` is passed, include tests that use the GitHub API and tests
+#: that use any of the taps for official external commands.
require "fileutils"
require "tap"
@@ -40,10 +38,6 @@ module Homebrew
ENV["HOMEBREW_NO_GITHUB_API"] = "1"
end
- if ARGV.include? "--official-cmd-taps"
- ENV["HOMEBREW_TEST_OFFICIAL_CMD_TAPS"] = "1"
- end
-
if ARGV.include? "--coverage"
ENV["HOMEBREW_TESTS_COVERAGE"] = "1"
FileUtils.rm_f "test/coverage/.resultset.json"