Kouhei Sutou
null+****@clear*****
Mon Nov 16 16:48:26 JST 2015
Kouhei Sutou 2015-11-16 16:48:26 +0900 (Mon, 16 Nov 2015) New Revision: 01182417ebd734d7d92cacb3ee5631622c141d8d https://github.com/groonga/grntest/commit/01182417ebd734d7d92cacb3ee5631622c141d8d Message: Follow error message change Modified files: lib/grntest/test-runner.rb Modified: lib/grntest/test-runner.rb (+2 -6) =================================================================== --- lib/grntest/test-runner.rb 2015-09-25 14:41:26 +0900 (10cd7ca) +++ lib/grntest/test-runner.rb 2015-11-16 16:48:26 +0900 (137074d) @@ -584,14 +584,10 @@ http { def normalize_path_in_error_message(content) case content - when /\A(.*'fopen: failed to open mruby script file: )<(.+?)>'(.*)\z/ + when /\A(.*: fopen: failed to open mruby script file: )<(.+?)>?\z/ pre = $1 path = $2 - post = $3 - normalized_path = File.basename(path) - post = post.gsub(/\[\d+\]\z/, "[?]") - post = "" unless /[\)\]]\z/ =~ post - "#{pre}<#{normalized_path}>'#{post}" + "#{pre}<PATH>" else content end -------------- next part -------------- HTML����������������������������...다운로드