YUKI Hiroshi
null+****@clear*****
Mon Nov 25 17:41:57 JST 2013
YUKI Hiroshi 2013-11-25 17:41:57 +0900 (Mon, 25 Nov 2013) New Revision: 29e18ea928825708442297887feaae60d182bea6 https://github.com/droonga/drntest/commit/29e18ea928825708442297887feaae60d182bea6 Message: Inherit specified config and catalog by TestRunner Modified files: lib/drntest/test-runner.rb lib/drntest/tester.rb Modified: lib/drntest/test-runner.rb (+3 -0) =================================================================== --- lib/drntest/test-runner.rb 2013-11-25 17:39:13 +0900 (b831b39) +++ lib/drntest/test-runner.rb 2013-11-25 17:41:57 +0900 (3f21cba) @@ -64,6 +64,9 @@ module Drntest private def prepare + self.config_file = tester.config + self.catalog_file = tester.catalog + options = load_options self.config_file = Pathname(options[:config]) if options[:config] self.catalog_file = Pathname(options[:catalog]) if options[:catalog] Modified: lib/drntest/tester.rb (+0 -2) =================================================================== --- lib/drntest/tester.rb 2013-11-25 17:39:13 +0900 (4ded18c) +++ lib/drntest/tester.rb 2013-11-25 17:41:57 +0900 (49c014b) @@ -88,8 +88,6 @@ module Drntest tests = load_tests(*targets) tests.each do |test| test_runner = TestRunner.new(self, test) - test_runner.config = @config - test_runner.catalog = @catalog test_suites_result.test_results << test_runner.run end -------------- next part -------------- HTML����������������������������...Download