From 55d277c33592f922f506aa2e07c0f81c6d33fd74 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 19 Apr 2014 09:11:52 +0100 Subject: 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. --- Library/Homebrew/test/test_stdlib.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/test') 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 -- cgit v1.2.3