
We need the ARGV extension now that we call ARGV.build_bottle? in set_cpu_cflags. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
23 lines
451 B
Ruby
23 lines
451 B
Ruby
require 'testing_env'
|
|
require 'utils'
|
|
require 'hardware'
|
|
require 'extend/ENV'
|
|
require 'extend/ARGV'
|
|
ENV.extend(HomebrewEnvExtension)
|
|
ARGV.extend(HomebrewArgvExtension)
|
|
|
|
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
|