aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 15:29:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 15:29:24 +0000
commit420d98e4a8e4b1f11a7d30a94a43e65f689e7e74 (patch)
tree9c519d8521d4cab9b6cfd2fd817c27d7f3aab5bb /bin
parent7f46fadd9d7f8ee32d9837a67e212f55e23666b8 (diff)
downloadruby-420d98e4a8e4b1f11a7d30a94a43e65f689e7e74.tar.gz
* lib/test/unit.rb (Test::Unit::Options#process_args): always
return options. * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return if any test case get loaded. * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add default directory if it is nil. * lib/test/unit.rb (Test::Unit::AutoRunner#process_args): return true if any test cases to run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/testrb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/testrb b/bin/testrb
index d03f057224..e9046eb147 100755
--- a/bin/testrb
+++ b/bin/testrb
@@ -5,6 +5,6 @@ tests.options.banner.sub!(/\[options\]/, '\& tests...')
unless tests.process_args(ARGV)
abort tests.options.banner
end
-p files = tests.to_run
+files = tests.to_run
$0 = files.size == 1 ? File.basename(files[0]) : files.to_s
exit tests.run