[ruby-cvs:72430] nobu:r65330 (trunk): test/unit.rb: glob w/o prefix/suffix

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Oct 23 23:26:23 JST 2018


nobu	2018-10-23 23:26:23 +0900 (Tue, 23 Oct 2018)

  New Revision: 65330

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65330

  Log:
    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*'

  Modified files:
    trunk/test/lib/test/unit.rb


More information about the ruby-cvs mailing list