mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
23 lines
766 B
Diff
23 lines
766 B
Diff
--- 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"
|