summaryrefslogtreecommitdiff
path: root/test/mkmf
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-02 01:27:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-02 01:27:00 +0000
commit5e7ff0511e4e631af771cf67534ce1dec5ff047a (patch)
treea1dd3f3c74868030d16dd9ea07a3f75e4546c666 /test/mkmf
parent49cc468ad4393872b5407ca89991b49a7b82bcea (diff)
* test/mkmf/test_framework.rb: test for r33372.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r--test/mkmf/test_framework.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb
new file mode 100644
index 0000000..fc85852
--- /dev/null
+++ b/test/mkmf/test_framework.rb
@@ -0,0 +1,9 @@
+require_relative 'base'
+
+class TestMkmf
+ class TestHaveFramework < TestMkmf
+ def test_cocoa_framework
+ assert(have_framework("Cocoa"), "try as Objective-C")
+ end
+ end
+end if /darwin/ =~ RUBY_PLATFORM