diff options
| author | Jack Nagel | 2013-03-09 17:35:31 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-03-09 17:38:49 -0600 |
| commit | cf2c7cf5cc54e1ddf489048c1173d8cf4d9d2057 (patch) | |
| tree | 15438cfcc7708a2126569c6ed5e2bd3e5782e6f7 /Library | |
| parent | d52032f748d3dc562b78fd76c93d4d8c96685ac7 (diff) | |
| download | homebrew-cf2c7cf5cc54e1ddf489048c1173d8cf4d9d2057.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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| |
