From e92141c641a20aae4aa53cff3716c8ad8ec0647a Mon Sep 17 00:00:00 2001 From: ttate Date: Sat, 14 May 2005 20:59:07 +0000 Subject: Added DL::BUILD_RUBY_PLATFORM,BUILD_RUBY_VERSION. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/test/test_import.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/dl/test') diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb index 5b5c9b07f..6df7b9cff 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() -- cgit