aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_stdlib.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-04-19 09:11:52 +0100
committerMike McQuaid2014-04-23 08:10:48 +0100
commit55d277c33592f922f506aa2e07c0f81c6d33fd74 (patch)
tree2532a1a7e82160152444b104913e60b057d3bc64 /Library/Homebrew/test/test_stdlib.rb
parent593702c70bed6d26d54684745b4b2f42e2f98899 (diff)
downloadbrew-55d277c33592f922f506aa2e07c0f81c6d33fd74.tar.bz2
Support core GCC formula as a GCC compiler.
It is activated by the same mechanism as the Homebrew/versions compilers which now check if the GCC formula uses the same, correct version. References Homebrew/homebrew#28418.
Diffstat (limited to 'Library/Homebrew/test/test_stdlib.rb')
-rw-r--r--Library/Homebrew/test/test_stdlib.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_stdlib.rb b/Library/Homebrew/test/test_stdlib.rb
index 9ccfc2153..7bc0c03d6 100644
--- a/Library/Homebrew/test/test_stdlib.rb
+++ b/Library/Homebrew/test/test_stdlib.rb
@@ -23,6 +23,7 @@ class CxxStdlibTests < Test::Unit::TestCase
end
def test_compatibility_same_compilers_and_type
+ assert @gcc.compatible_with?(@gcc)
assert @gcc48.compatible_with?(@gcc48)
assert @clang.compatible_with?(@clang)
end
@@ -33,8 +34,8 @@ class CxxStdlibTests < Test::Unit::TestCase
end
def test_gnu_cross_version_incompatibility
- assert !@clang.compatible_with?(@gcc48)
- assert !@gcc48.compatible_with?(@clang)
+ assert !@gcc48.compatible_with?(@gcc49)
+ assert !@gcc49.compatible_with?(@gcc48)
end
def test_libstdcxx_libcxx_incompatibility