diff options
Diffstat (limited to 'repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch')
-rw-r--r-- | repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch b/repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch new file mode 100644 index 0000000..bfb5ceb --- /dev/null +++ b/repo/ruby-nokogiri/test-helper-remove-unnecessary-deps.patch @@ -0,0 +1,22 @@ +--- a/test/helper.rb ++++ b/test/helper.rb +@@ -16,19 +16,12 @@ + # make sure we do one final major before the process exits (for valgrind) + at_exit { GC.start(full_mark: true) } unless ::RUBY_PLATFORM == "java" + +-require "simplecov" +-SimpleCov.start do +- add_filter "/test/" +-end + + $VERBOSE = true + + require "minitest/autorun" +-require "minitest/reporters" + NOKOGIRI_MINITEST_REPORTERS_OPTIONS = { color: true, slow_count: 10, detailed_skip: false } + NOKOGIRI_MINITEST_REPORTERS_OPTIONS[:fast_fail] = true if ENV["NOKOGIRI_TEST_FAIL_FAST"] +-puts "Minitest::Reporters options: #{NOKOGIRI_MINITEST_REPORTERS_OPTIONS}" +-Minitest::Reporters.use!(Minitest::Reporters::DefaultReporter.new(NOKOGIRI_MINITEST_REPORTERS_OPTIONS)) + + require "fileutils" + require "tempfile" |