summaryrefslogtreecommitdiff
path: root/test/mkmf
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-06 16:21:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-06 16:21:57 +0000
commitd0d68df7d00f58c8ebb9a74f577dca389876d882 (patch)
tree2824ed0d734a16cb7a4d7cb30c1c45c05a03b293 /test/mkmf
parent977bec12363e7e87a19ad81aa063fbf2b4112493 (diff)
mkmf.rb: fix splitting options with an argument
* ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting options with an argument, not using NUL as special character. [ruby-core:47447] [Bug #6987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r--test/mkmf/test_framework.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb
index 12f60de..39171a0 100644
--- a/test/mkmf/test_framework.rb
+++ b/test/mkmf/test_framework.rb
@@ -5,5 +5,10 @@ class TestMkmf
def test_core_foundation_framework
assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C"))
end
+
+ def test_multi_frameworks
+ assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C"))
+ assert(have_framework("Cocoa"), mkmflog("try as Objective-C"))
+ end
end
end if /darwin/ =~ RUBY_PLATFORM