From eed5a69a51966f53068af7117483f9fd681346fa Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 5 Mar 2017 22:19:20 +0100 Subject: [PATCH] Try fixing coverage. --- Library/Homebrew/test/spec_helper.rb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb index af414b1459..c8e5cc0f89 100644 --- a/Library/Homebrew/test/spec_helper.rb +++ b/Library/Homebrew/test/spec_helper.rb @@ -1,5 +1,4 @@ require "find" -require "parallel_tests" require "pathname" require "rspec/its" require "rspec/wait" @@ -10,16 +9,7 @@ if ENV["HOMEBREW_TESTS_COVERAGE"] if ENV["CODECOV_TOKEN"] || ENV["TRAVIS"] require "codecov" - - if ParallelTests.last_process? - at_exit do - ParallelTests.wait_for_other_processes_to_finish - - puts "Sending coverage report to CodeCov …" - formatter = SimpleCov::Formatter::Codecov.new - formatter.format SimpleCov::ResultMerger.merged_result - end - end + SimpleCov.formatter = SimpleCov::Formatter::Codecov end end