diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-14 20:59:07 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-14 20:59:07 +0000 |
commit | a7c5e6bcec40e4488f30935b973097ea2fbaf26f (patch) | |
tree | 1b6f4a4d4a0d943c8520ee1b1d6c37c0d6162efa /ext/dl/test | |
parent | 36e3983a2720afac6ecba48464e0e6ab9910acc7 (diff) |
Added DL::BUILD_RUBY_PLATFORM,BUILD_RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/test')
-rw-r--r-- | ext/dl/test/test_import.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb index 5b5c9b07ff..6df7b9cff6 100644 --- a/ext/dl/test/test_import.rb +++ b/ext/dl/test/test_import.rb @@ -59,6 +59,9 @@ module DL end def test_io() + if( RUBY_PLATFORM != DL::BUILD_RUBY_PLATFORM ) + return + end io_in,io_out = IO.pipe() LIBC.fprintf(io_out, "hello") io_out.flush() |