mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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
This commit is contained in:
parent
adf37e2fde
commit
96863dc358
4 changed files with 42 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue