diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 08:51:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-07 08:51:01 +0000 |
commit | d57e043ab508d2ea379dcc1811e35b73abb8072a (patch) | |
tree | 65a74b957c0c873103fe200868308406e1d0bf11 /test/mkmf | |
parent | 2b2c6911887d46be7cbfc8520e8cb5ed1843bc12 (diff) | |
download | ruby-d57e043ab508d2ea379dcc1811e35b73abb8072a.tar.gz |
test_framework.rb: use Ruby framework
* test/mkmf/test_framework.rb (test_single_framework): use Ruby
framework, as CoreFoundation framework uses Apple extensions
unsupported by standard GCC other than Apple-patched clang.
* test/mkmf/test_framework.rb (test_multi_frameworks): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r-- | test/mkmf/test_framework.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb index cad6b052d0..70ea8c3327 100644 --- a/test/mkmf/test_framework.rb +++ b/test/mkmf/test_framework.rb @@ -20,12 +20,12 @@ class TestMkmf end end - def test_core_foundation_framework - assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C")) + def test_single_framework + assert(have_framework("Ruby"), mkmflog("try as Objective-C")) end def test_multi_frameworks - assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C")) + assert(have_framework("Ruby"), mkmflog("try as Objective-C")) create_framework("MkmfTest") do |fw| assert(have_framework(fw), MKMFLOG) end |