enable updater tests to be run on their own

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Mislav Marohnić 2011-06-12 15:46:08 +02:00 committed by Adam Vandenberg
parent db76c21aee
commit 5fdb145e76

View File

@ -1,6 +1,7 @@
abort if ARGV.include? "--skip-update" abort if ARGV.include? "--skip-update"
require 'testing_env' require 'testing_env'
HOMEBREW_CELLAR.mkpath
require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser
ARGV.extend(HomebrewArgvExtension) ARGV.extend(HomebrewArgvExtension)