diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-02-25 06:39:12 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-02-25 06:39:12 +0000 |
commit | 2ffc5814a14ce44ab408d8aca922875ce8991643 (patch) | |
tree | 098dc615cb65069b1d3f714cd959d3d3927c2aeb /rubytest.rb | |
parent | 62e648e148b3cb9f96dcce808c55c02b7ccb4486 (diff) |
This commit was manufactured by cvs2svn to create tag
'v1_3_1_990225'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_3_1_990225@408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rw-r--r-- | rubytest.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb index cf583c1dfb..3bf11b3ba5 100644 --- a/rubytest.rb +++ b/rubytest.rb @@ -1,11 +1,15 @@ #! ./miniruby -I. +x = ENV["LD_LIBRARY_PATH"] +x = x ? x+":." : "." +ENV["LD_LIBRARY_PATH"] = x + require 'rbconfig' include Config $stderr.reopen($stdout) error = '' -`./ruby #{CONFIG["srcdir"]}/sample/test.rb`.each do |line| +`./#{CONFIG["ruby_install_name"]} #{CONFIG["srcdir"]}/sample/test.rb`.each do |line| if line =~ /^end of test/ print "test succeeded\n" exit 0 |