diff options
Diffstat (limited to 'ext/dl/test/test_import.rb')
-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() |