diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | rubytest.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jun 19 16:13:54 2003 WATANABE Hirofumi <eban@ruby-lang.org> + + * rubytest.rb: add library path to include standard libraries. + Thu Jun 19 13:13:10 2003 NAKAMURA Usaku <usa@ruby-lang.org> * hash.c (env_delete, rb_f_getenv, env_fetch): case insensitive to diff --git a/rubytest.rb b/rubytest.rb index 05705dacf5..841a8758b7 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 |