summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb
index 3735461ba6..6fd02a80ae 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -6,7 +6,7 @@ require 'test/unit'
src_testdir = File.dirname(File.expand_path(__FILE__))
srcdir = File.dirname(src_testdir)
-exit Test::Unit.start {|files|
+tests = Test::Unit.new {|files|
if files.empty?
[src_testdir]
else
@@ -23,3 +23,4 @@ exit Test::Unit.start {|files|
}
end
}
+exit tests.run(ARGV) || true