Kouhei Sutou
null+****@clear*****
Wed Jun 13 17:23:01 JST 2018
Kouhei Sutou 2018-06-13 17:23:01 +0900 (Wed, 13 Jun 2018) New Revision: 3a0913a0538e65a4965c61817237304f58ba6dc1 https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1 Message: run-regression-test: return true on success Modified files: lib/groonga-query-log/command/run-regression-test.rb Modified: lib/groonga-query-log/command/run-regression-test.rb (+5 -2) =================================================================== --- lib/groonga-query-log/command/run-regression-test.rb 2018-06-13 17:22:45 +0900 (3e56d3c) +++ lib/groonga-query-log/command/run-regression-test.rb 2018-06-13 17:23:01 +0900 (090156a) @@ -361,6 +361,7 @@ module GroongaQueryLog @n_ready_waits -= 1 return true unless @n_ready_waits.zero? + same = true query_log_paths.each do |query_log_path| log_path = test_log_path(query_log_path) if @options[:skip_finished_queries] and log_path.exist? @@ -384,7 +385,9 @@ module GroongaQueryLog else callback = nil end - verify_server(log_path, query_log_path, &callback) + unless verify_server(log_path, query_log_path, &callback) + same = false + end rescue Interrupt puts("Interrupt: #{query_log_path}") end @@ -399,7 +402,7 @@ module GroongaQueryLog old_thread.join new_thread.join - true + same end def verify_server(test_log_path, query_log_path, &callback) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180613/3636c21d/attachment-0001.htm