[前][次][番号順一覧][スレッド一覧]

ruby-changes:43944

From: nobu <ko1@a...>
Date: Sat, 27 Aug 2016 01:08:44 +0900 (JST)
Subject: [ruby-changes:43944] nobu:r56017 (trunk): test_regex_casefold.rb: skip if no data file

nobu	2016-08-27 01:08:40 +0900 (Sat, 27 Aug 2016)

  New Revision: 56017

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

  Log:
    test_regex_casefold.rb: skip if no data file
    
    * test/ruby/enc/test_regex_casefold.rb (setup): skip with error
      message if CaseFolding.txt does not present, instead of printing
      the message, which causes unknown command in parallel test.

  Modified files:
    trunk/test/ruby/enc/test_regex_casefold.rb
Index: test/ruby/enc/test_regex_casefold.rb
===================================================================
--- test/ruby/enc/test_regex_casefold.rb	(revision 56016)
+++ test/ruby/enc/test_regex_casefold.rb	(revision 56017)
@@ -37,7 +37,7 @@ class TestCaseFold < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_regex_casefold.rb#L37
     @@tests ||= read_tests
   rescue Errno::ENOENT => e
     @@tests ||= []
-    puts e.message
+    skip e.message
   end
 
   def self.generate_test_casefold(encoding)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]