summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-16 13:09:44 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-16 13:09:44 (GMT)
commitd98d3fe12a46203b056c23f50d845028e3a73a7a (patch)
treed7cf704834d3f35b38b23f4a86b3b9ed9a861a98 /bin
parent048d2e6d32315e13962a01e8df6459487c57b98c (diff)
* lib/test/unit.rb, bin/testrb, test/runner.rb: revert r28655, which
broke test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/testrb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/testrb b/bin/testrb
index 6a65fba..e4eb909 100755
--- a/bin/testrb
+++ b/bin/testrb
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'test/unit'
-exit Test::Unit.start {|files|
+Test::Unit.setup_argv {|files|
if files.empty?
puts "Usage: testrb [options] tests..."
- exit false
+ exit 1
end
if files.size == 1
$0 = File.basename(files[0])