diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-16 05:58:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-16 05:58:39 +0000 |
commit | 96863dc358cc86435099627a7afc1ec58a1fd79c (patch) | |
tree | 4292923636ea7e3aef06c2a417939759f77ef0a4 /test/runner.rb | |
parent | adf37e2fde99839f62554e5ddbc8fbd2807e2300 (diff) |
* lib/test/unit.rb (Test::Unit.setup_argv): run tests only when
any tests have not run.
* bin/testrb, test/runner.rb: use Test::Unit.start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
-rw-r--r-- | test/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb index 3f1c8abc19..3735461ba6 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) -Test::Unit.setup_argv {|files| +exit Test::Unit.start {|files| if files.empty? [src_testdir] else |