blob: 1cd716dfd5f2162918d685e07d859cf8f1d694a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'testing_env'
require 'utils'
require 'brew.h'
require 'extend/ENV'
ENV.extend(HomebrewEnvExtension)
class EnvironmentTests < Test::Unit::TestCase
def test_ENV_options
ENV.gcc_4_0
ENV.gcc_4_2
ENV.O3
ENV.minimal_optimization
ENV.no_optimization
ENV.libxml2
ENV.x11
ENV.enable_warnings
assert !ENV.cc.empty?
assert !ENV.cxx.empty?
end
end
|