From 3bc707e13c072d431cd3ba77f31da8e1a586f3ad Mon Sep 17 00:00:00 2001 From: eban Date: Thu, 19 Jun 2003 07:16:58 +0000 Subject: * 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 --- ChangeLog | 4 ++++ rubytest.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e3ad0319b..b3abd0b79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 19 16:13:54 2003 WATANABE Hirofumi + + * rubytest.rb: add library path to include standard libraries. + Thu Jun 19 13:13:10 2003 NAKAMURA Usaku * hash.c (env_delete, rb_f_getenv, env_fetch): case insensitive to 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 -- cgit