@@ -58,7 +58,7 @@ def assert_file
58
58
59
59
def assert_in_out_err ( args , test_stdin = "" , test_stdout = [ ] , test_stderr = [ ] , message = nil ,
60
60
success : nil , **opt )
61
- skip 'assert_in_out_err is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
61
+ omit 'assert_in_out_err is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
62
62
63
63
args = Array ( args ) . dup
64
64
args . insert ( ( Hash === args [ 0 ] ? 1 : 0 ) , '--disable=gems' )
@@ -116,7 +116,7 @@ def syntax_check(code, fname, line)
116
116
117
117
def assert_no_memory_leak ( args , prepare , code , message = nil , limit : 2.0 , rss : false , **opt )
118
118
# TODO: consider choosing some appropriate limit for RJIT and stop skipping this once it does not randomly fail
119
- skip 'assert_no_memory_leak fails transiently on TruffleRuby and is too slow' if defined? ( ::TruffleRuby )
119
+ omit 'assert_no_memory_leak fails transiently on TruffleRuby and is too slow' if defined? ( ::TruffleRuby )
120
120
pend 'assert_no_memory_leak may consider RJIT memory usage as leak' if defined? ( RubyVM ::RJIT ) && RubyVM ::RJIT . enabled?
121
121
# For previous versions which implemented MJIT
122
122
pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined? ( RubyVM ::MJIT ) && RubyVM ::MJIT . enabled?
@@ -229,7 +229,7 @@ def assert_valid_syntax(code, *args, **opt)
229
229
end
230
230
231
231
def assert_normal_exit ( testsrc , message = '' , child_env : nil , **opt )
232
- skip 'assert_normal_exit is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
232
+ omit 'assert_normal_exit is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
233
233
234
234
assert_valid_syntax ( testsrc , caller_locations ( 1 , 1 ) [ 0 ] )
235
235
if child_env
@@ -242,7 +242,7 @@ def assert_normal_exit(testsrc, message = '', child_env: nil, **opt)
242
242
end
243
243
244
244
def assert_ruby_status ( args , test_stdin = "" , message = nil , **opt )
245
- skip 'assert_ruby_status is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
245
+ omit 'assert_ruby_status is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
246
246
247
247
out , _ , status = EnvUtil . invoke_ruby ( args , test_stdin , true , :merge_to_stdout , **opt )
248
248
desc = FailDesc [ status , message , out ]
@@ -267,7 +267,7 @@ def separated_runner(token, out = nil)
267
267
end
268
268
269
269
def assert_separately ( args , file = nil , line = nil , src , ignore_stderr : nil , **opt )
270
- skip 'assert_separately is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
270
+ omit 'assert_separately is too slow on TruffleRuby' unless ALLOW_SUBPROCESSES
271
271
272
272
unless file and line
273
273
loc , = caller_locations ( 1 , 1 )
0 commit comments