diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-19 07:16:58 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-19 07:16:58 +0000 |
commit | 3bc707e13c072d431cd3ba77f31da8e1a586f3ad (patch) | |
tree | 8a3eca1ab9c2a706afc99263cc3a310fb80f29b3 /rubytest.rb | |
parent | bbda79cb58b561d652cf0085e03af832a2b8b5ed (diff) | |
download | ruby-3bc707e13c072d431cd3ba77f31da8e1a586f3ad.tar.gz ruby-3bc707e13c072d431cd3ba77f31da8e1a586f3ad.tar.xz ruby-3bc707e13c072d431cd3ba77f31da8e1a586f3ad.zip |
* rubytest.rb: add library path to include standard libraries.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rw-r--r-- | rubytest.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb index 05705dacf..841a8758b 100644 --- a/rubytest.rb +++ b/rubytest.rb @@ -32,7 +32,7 @@ end $stderr.reopen($stdout) error = '' -`./#{CONFIG["ruby_install_name"]}#{CONFIG["EXEEXT"]} #{CONFIG["srcdir"]}/sample/test.rb`.each do |line| +`./#{CONFIG["ruby_install_name"]}#{CONFIG["EXEEXT"]} -I#{CONFIG["srcdir"]}/lib #{CONFIG["srcdir"]}/sample/test.rb`.each do |line| if line =~ /^end of test/ print "test succeeded\n" exit 0 |