From fa7a5d5477dd8015b9bc0be9dc7ef2bf583e46d8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 8 Apr 2004 10:45:21 +0000 Subject: * ext/extmk.rb (extmake): skip uncompiled extensions. * lib/mkmf.rb (create_makefile): emit no rules for static library if $static is nil, e.g., outside of ext/. * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. * runruby.rb: set environments to use the compiled binary. * test/runner.rb: do nothing while cross-compiling. * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to know ruby binary. * test/ruby/envutil.rb: give priority to RUBY environment variable to use just compiled binary and libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- runruby.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runruby.rb') diff --git a/runruby.rb b/runruby.rb index 4eaa133224..ca831410f0 100755 --- a/runruby.rb +++ b/runruby.rb @@ -36,6 +36,8 @@ if extout libs << abs_extout << File.expand_path(RUBY_PLATFORM, abs_extout) end config["bindir"] = abs_archdir +ENV["RUBY"] = File.expand_path(ruby) +ENV["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR) if e = ENV["RUBYLIB"] libs |= e.split(File::PATH_SEPARATOR) -- cgit v1.2.3