summaryrefslogtreecommitdiffstats
path: root/lib/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-08 10:45:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-08 10:45:21 +0000
commit7971aa6cdab3ac6dbb85533d43bde83c0880febc (patch)
tree4133ff567ecee458d18ef66b74c64b7e239b509e /lib/test
parent814ce273620320e78bc12483879146e891c67296 (diff)
downloadruby-7971aa6cdab3ac6dbb85533d43bde83c0880febc.tar.gz
ruby-7971aa6cdab3ac6dbb85533d43bde83c0880febc.tar.xz
ruby-7971aa6cdab3ac6dbb85533d43bde83c0880febc.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r--lib/test/unit/ui/console/testrunner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test/unit/ui/console/testrunner.rb b/lib/test/unit/ui/console/testrunner.rb
index f20ae9775..5f3877640 100644
--- a/lib/test/unit/ui/console/testrunner.rb
+++ b/lib/test/unit/ui/console/testrunner.rb
@@ -90,6 +90,7 @@ module Test
end
def test_started(name)
+ $0 = $0.sub(/(?:\0.*)?\z/) {"\0"+name}
output_single(name + ": ", VERBOSE)
end