From cf2c7cf5cc54e1ddf489048c1173d8cf4d9d2057 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 9 Mar 2013 17:35:31 -0600 Subject: 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. --- Library/Homebrew/test/testing_env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 7206a71f0..66788801f 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -28,7 +28,7 @@ HOMEBREW_CURL_ARGS = '-fsLA' HOMEBREW_VERSION = '0.9-test' MACOS = true -MACOS_VERSION = 10.6 +MACOS_VERSION = ENV.fetch('MACOS_VERSION', 10.6) MACOS_FULL_VERSION = '10.6.8' %w{Library/Formula Library/ENV}.each do |d| -- cgit v1.2.3