summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/testrb3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/testrb b/bin/testrb
index 6a65fba..f4cd42f 100755
--- a/bin/testrb
+++ b/bin/testrb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require 'test/unit'
-exit Test::Unit.start {|files|
+tests = Test::Unit.new {|files|
if files.empty?
puts "Usage: testrb [options] tests..."
exit false
@@ -12,3 +12,4 @@ exit Test::Unit.start {|files|
end
files
}
+exit tests.run(ARGV) || true