tests: fix no-op fails_with test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
c134ba6c4a
commit
f296683409
@ -96,10 +96,10 @@ class FormulaTests < Test::Unit::TestCase
|
|||||||
assert !(f.fails_with? :gcc)
|
assert !(f.fails_with? :gcc)
|
||||||
cs = CompilerSelector.new(f)
|
cs = CompilerSelector.new(f)
|
||||||
cs.select_compiler
|
cs.select_compiler
|
||||||
assert ENV.compiler, case MacOS.clang_build_version
|
assert_equal case MacOS.clang_build_version
|
||||||
when 0..210 then :gcc
|
when 0..210 then :gcc
|
||||||
else :clang
|
else :clang
|
||||||
end
|
end, ENV.compiler
|
||||||
ENV.send MacOS.default_compiler
|
ENV.send MacOS.default_compiler
|
||||||
|
|
||||||
f = TestMixedCompilerFailures.new
|
f = TestMixedCompilerFailures.new
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user