tests: allow setting MACOS_VERSION from the environment
This makes it easy to test things that vary depending on this constant without editing testing_env.rb.
This commit is contained in:
parent
ed0a737a39
commit
8e530d861b
@ -28,7 +28,7 @@ HOMEBREW_CURL_ARGS = '-fsLA'
|
|||||||
HOMEBREW_VERSION = '0.9-test'
|
HOMEBREW_VERSION = '0.9-test'
|
||||||
|
|
||||||
MACOS = true
|
MACOS = true
|
||||||
MACOS_VERSION = 10.6
|
MACOS_VERSION = ENV.fetch('MACOS_VERSION', 10.6)
|
||||||
MACOS_FULL_VERSION = '10.6.8'
|
MACOS_FULL_VERSION = '10.6.8'
|
||||||
|
|
||||||
%w{Library/Formula Library/ENV}.each do |d|
|
%w{Library/Formula Library/ENV}.each do |d|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user