aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/test.rb b/Library/Homebrew/cmd/test.rb
index 4dc3c4058..e6b0aa297 100644
--- a/Library/Homebrew/cmd/test.rb
+++ b/Library/Homebrew/cmd/test.rb
@@ -34,6 +34,12 @@ module Homebrew
#{f.path}
].concat(ARGV.options_only)
+ if f.head?
+ args << "--HEAD"
+ elsif f.devel?
+ args << "--devel"
+ end
+
if Sandbox.available? && ARGV.sandbox?
if Sandbox.auto_disable?
Sandbox.print_autodisable_warning