[Groonga-commit] droonga/drntest at 78cd4e8 [master] Ignore missing catalog file

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 25 18:20:23 JST 2013


YUKI Hiroshi	2013-11-25 18:20:23 +0900 (Mon, 25 Nov 2013)

  New Revision: 78cd4e887b6b505277f8c7ad0d2077b89b2e53ed
  https://github.com/droonga/drntest/commit/78cd4e887b6b505277f8c7ad0d2077b89b2e53ed

  Message:
    Ignore missing catalog file

  Modified files:
    lib/drntest/test-runner.rb

  Modified: lib/drntest/test-runner.rb (+1 -1)
===================================================================
--- lib/drntest/test-runner.rb    2013-11-25 18:19:12 +0900 (f152664)
+++ lib/drntest/test-runner.rb    2013-11-25 18:20:23 +0900 (10b779a)
@@ -85,7 +85,7 @@ module Drntest
       @catalog = owner.catalog if owner.catalog
       @catalog = @options[:catalog] if @options[:catalog]
 
-      if catalog.exist?
+      if catalog && catalog.exist?
         catalog_json = JSON.parse(catalog.read, :symbolize_names => true)
         zone = catalog_json[:zones].first
         /\A([^:]+):(\d+)\/(.+)\z/ =~ zone
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index