summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-19 07:16:58 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-19 07:16:58 +0000
commitbbd5c60e1850b88d4a8f95974117c008ed5f1a4c (patch)
tree8a3eca1ab9c2a706afc99263cc3a310fb80f29b3 /rubytest.rb
parent7bb51e6ce911f70d7f850f1495f93ef987a1603d (diff)
* rubytest.rb: add library path to include standard libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rw-r--r--rubytest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubytest.rb b/rubytest.rb
index 05705da..841a875 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