mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Don't require "debug"
in brew tests
- it's in our RSpec config
This commit is contained in:
parent
f2a64f3808
commit
621e51a6c9
@ -22,7 +22,7 @@ module Homebrew
|
|||||||
description: "Include tests that use the GitHub API and tests that use any of the taps for " \
|
description: "Include tests that use the GitHub API and tests that use any of the taps for " \
|
||||||
"official external commands."
|
"official external commands."
|
||||||
switch "--debug",
|
switch "--debug",
|
||||||
description: "Enable debugging using ruby/debug."
|
description: "Enable debugging using ruby/debug, or surface the standard `odebug` output."
|
||||||
switch "--changed",
|
switch "--changed",
|
||||||
description: "Only runs tests on files that were changed from the master branch."
|
description: "Only runs tests on files that were changed from the master branch."
|
||||||
switch "--fail-fast",
|
switch "--fail-fast",
|
||||||
@ -45,8 +45,6 @@ module Homebrew
|
|||||||
# Given we might be testing various commands, we probably want everything (except sorbet-static)
|
# Given we might be testing various commands, we probably want everything (except sorbet-static)
|
||||||
Homebrew.install_bundler_gems!(groups: Homebrew.valid_gem_groups - ["sorbet"])
|
Homebrew.install_bundler_gems!(groups: Homebrew.valid_gem_groups - ["sorbet"])
|
||||||
|
|
||||||
require "debug" if args.debug?
|
|
||||||
|
|
||||||
HOMEBREW_LIBRARY_PATH.cd do
|
HOMEBREW_LIBRARY_PATH.cd do
|
||||||
setup_environment!
|
setup_environment!
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user