mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use omit instead of skip: test/-ext-/**/*.rb
This commit is contained in:
parent
55cdb8b013
commit
763592d208
4 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ require 'tmpdir'
|
|||
|
||||
class TestBugReporter < Test::Unit::TestCase
|
||||
def test_bug_reporter_add
|
||||
skip if ENV['RUBY_ON_BUG']
|
||||
omit if ENV['RUBY_ON_BUG']
|
||||
|
||||
description = RUBY_DESCRIPTION
|
||||
description = description.sub(/\+MJIT /, '') if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
|
||||
|
|
|
@ -52,7 +52,7 @@ class TestFloatExt < Test::Unit::TestCase
|
|||
"#{'%a' % v2} = Bug::Float.system_nextafter(#{'%a' % n1}, #{'%a' % n2})")
|
||||
rescue Test::Unit::AssertionFailedError
|
||||
if /aix/ =~ RUBY_PLATFORM
|
||||
skip "Known bug in nextafter(3) on AIX"
|
||||
omit "Known bug in nextafter(3) on AIX"
|
||||
end
|
||||
raise $!
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
class TestUbfAsyncSafe < Test::Unit::TestCase
|
||||
def test_ubf_async_safe
|
||||
skip 'need fork for single-threaded test' unless Process.respond_to?(:fork)
|
||||
omit 'need fork for single-threaded test' unless Process.respond_to?(:fork)
|
||||
IO.pipe do |r, w|
|
||||
pid = fork do
|
||||
require '-test-/gvl/call_without_gvl'
|
||||
|
|
|
@ -98,7 +98,7 @@ class TestIseqLoad < Test::Unit::TestCase
|
|||
iseq = ISeq.iseq_load(a)
|
||||
iseq.eval
|
||||
assert_equal false, @next_broke
|
||||
skip "failing due to stack_max mismatch"
|
||||
omit "failing due to stack_max mismatch"
|
||||
assert_iseq_roundtrip(src)
|
||||
end
|
||||
|
||||
|
@ -121,7 +121,7 @@ class TestIseqLoad < Test::Unit::TestCase
|
|||
iseq = ISeq.iseq_load(a)
|
||||
iseq.eval
|
||||
assert_equal false, test_break_ensure_def_method
|
||||
skip "failing due to exception entry sp mismatch"
|
||||
omit "failing due to exception entry sp mismatch"
|
||||
assert_iseq_roundtrip(src)
|
||||
end
|
||||
|
||||
|
@ -137,7 +137,7 @@ class TestIseqLoad < Test::Unit::TestCase
|
|||
|
||||
# FIXME: still failing
|
||||
def test_require_integration
|
||||
skip "iseq loader require integration tests still failing"
|
||||
omit "iseq loader require integration tests still failing"
|
||||
f = File.expand_path(__FILE__)
|
||||
# $(top_srcdir)/test/ruby/test_....rb
|
||||
3.times { f = File.dirname(f) }
|
||||
|
|
Loading…
Add table
Reference in a new issue