diff options
Diffstat (limited to 'rubytest.rb')
| -rw-r--r-- | rubytest.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/rubytest.rb b/rubytest.rb deleted file mode 100644 index 3bf11b3ba5..0000000000 --- a/rubytest.rb +++ /dev/null @@ -1,20 +0,0 @@ -#! ./miniruby -I. - -x = ENV["LD_LIBRARY_PATH"] -x = x ? x+":." : "." -ENV["LD_LIBRARY_PATH"] = x - -require 'rbconfig' -include Config - -$stderr.reopen($stdout) -error = '' -`./#{CONFIG["ruby_install_name"]} #{CONFIG["srcdir"]}/sample/test.rb`.each do |line| - if line =~ /^end of test/ - print "test succeeded\n" - exit 0 - end - error << line if line =~ %r:^(sample/test.rb|not): -end -print error -print "test failed\n" |
