[Groonga-commit] droonga/drntest at 4d608fc [master] Allow "XXX.expected.config-name" files to specify expected result for specific configuration

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Jun 2 14:00:06 JST 2015


YUKI Hiroshi	2015-06-02 14:00:06 +0900 (Tue, 02 Jun 2015)

  New Revision: 4d608fc4404890818a61107e69fa61e070906a02
  https://github.com/droonga/drntest/commit/4d608fc4404890818a61107e69fa61e070906a02

  Message:
    Allow "XXX.expected.config-name" files to specify expected result for specific configuration

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

  Modified: lib/drntest/test-runner.rb (+4 -0)
===================================================================
--- lib/drntest/test-runner.rb    2015-04-30 00:39:18 +0900 (2f54843)
+++ lib/drntest/test-runner.rb    2015-06-02 14:00:06 +0900 (248fe5c)
@@ -97,6 +97,10 @@ module Drntest
     end
 
     def expected_path
+      expected_for_config = @target_path.sub_ext(".expected.#{@config.engine_config}")
+      if expected_for_config.exist?
+        return expected_for_config
+      end
       @target_path.sub_ext(".expected")
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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