Project

General

Profile

« Previous | Next » 

Revision 95256bcf

Added by nobu (Nobuyoshi Nakada) over 6 years ago

test/unit.rb: glob w/o prefix/suffix

  • test/lib/test/unit.rb (Test::Unit::GlobOption#non_options): glob
    the given pattern as-is under the TESTSDIR without the prefix
    nor the suffix, when it has separator(s) but does not end with a
    separator nor is not a directory. e.g.:

    make test-all TESTS='ruby/test_time*'
    

    runs ruby/test_time.rb and ruby/test_time_tz.rb only, like
    as the following:

    make test-all TESTS='$(TESTSDIR)/ruby/test_time*'
    

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e