summaryrefslogtreecommitdiff
path: root/test/mkmf/test_framework.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 08:51:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 08:51:01 +0000
commitd57e043ab508d2ea379dcc1811e35b73abb8072a (patch)
tree65a74b957c0c873103fe200868308406e1d0bf11 /test/mkmf/test_framework.rb
parent2b2c6911887d46be7cbfc8520e8cb5ed1843bc12 (diff)
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/test_framework.rb')
-rw-r--r--test/mkmf/test_framework.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb
index cad6b05..70ea8c3 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