diff options
Diffstat (limited to 'test/.excludes')
-rw-r--r-- | test/.excludes/TestArray.rb | 1 | ||||
-rw-r--r-- | test/.excludes/TestArraySubclass.rb | 1 | ||||
-rw-r--r-- | test/.excludes/TestException.rb | 8 | ||||
-rw-r--r-- | test/.excludes/TestGem.rb | 4 | ||||
-rw-r--r-- | test/.excludes/TestIO_Console.rb | 2 | ||||
-rw-r--r-- | test/.excludes/TestISeq.rb | 1 | ||||
-rw-r--r-- | test/.excludes/TestThread.rb | 18 | ||||
-rw-r--r-- | test/.excludes/TestThreadQueue.rb | 9 | ||||
-rw-r--r-- | test/.excludes/_appveyor/TestArray.rb | 7 |
9 files changed, 51 insertions, 0 deletions
diff --git a/test/.excludes/TestArray.rb b/test/.excludes/TestArray.rb new file mode 100644 index 0000000000..73da272007 --- /dev/null +++ b/test/.excludes/TestArray.rb @@ -0,0 +1 @@ +exclude(:test_shared_marking, "The target code has already been changed") diff --git a/test/.excludes/TestArraySubclass.rb b/test/.excludes/TestArraySubclass.rb new file mode 100644 index 0000000000..73da272007 --- /dev/null +++ b/test/.excludes/TestArraySubclass.rb @@ -0,0 +1 @@ +exclude(:test_shared_marking, "The target code has already been changed") diff --git a/test/.excludes/TestException.rb b/test/.excludes/TestException.rb new file mode 100644 index 0000000000..38d66d63d2 --- /dev/null +++ b/test/.excludes/TestException.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: false +reason = %[\ +Because machine stack overflow can happen anywhere, even critical +sections including external libraries, it is very neary impossible to +recover from such situation. +] + +exclude %r[test_machine_stackoverflow], reason diff --git a/test/.excludes/TestGem.rb b/test/.excludes/TestGem.rb new file mode 100644 index 0000000000..042af26eff --- /dev/null +++ b/test/.excludes/TestGem.rb @@ -0,0 +1,4 @@ +if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes" + exclude(/test_looks_for_gemdeps_files_automatically_from_binstubs/, + "can't test before installation") +end diff --git a/test/.excludes/TestIO_Console.rb b/test/.excludes/TestIO_Console.rb new file mode 100644 index 0000000000..caf1935fec --- /dev/null +++ b/test/.excludes/TestIO_Console.rb @@ -0,0 +1,2 @@ +# frozen_string_literal: false +exclude(:test_getpass, 'not portable') diff --git a/test/.excludes/TestISeq.rb b/test/.excludes/TestISeq.rb new file mode 100644 index 0000000000..b99181eeaf --- /dev/null +++ b/test/.excludes/TestISeq.rb @@ -0,0 +1 @@ +exclude :test_parent_iseq_mark, "time consuming test" diff --git a/test/.excludes/TestThread.rb b/test/.excludes/TestThread.rb new file mode 100644 index 0000000000..f26ea420a6 --- /dev/null +++ b/test/.excludes/TestThread.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: false +exclude(/_stack_size$/, 'often too expensive') +if /freebsd13/ =~ RUBY_PLATFORM + # http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220216T143001Z.fail.html.gz + # + # 1) Error: + # TestThread#test_signal_at_join: + # Timeout::Error: execution of assert_separately expired timeout (120 sec) + # pid 30743 killed by SIGABRT (signal 6) (core dumped) + # | + # + # /usr/home/chkbuild/chkbuild/tmp/build/20220216T143001Z/ruby/test/ruby/test_thread.rb:1390:in `test_signal_at_join' + exclude(:test_signal_at_join, 'gets stuck somewhere') +end +if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') + # to avoid "`failed to allocate memory (NoMemoryError)" error + exclude(:test_thread_interrupt_for_killed_thread, 'TODO') +end diff --git a/test/.excludes/TestThreadQueue.rb b/test/.excludes/TestThreadQueue.rb new file mode 100644 index 0000000000..c8231e372a --- /dev/null +++ b/test/.excludes/TestThreadQueue.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: false +if /freebsd13/ =~ RUBY_PLATFORM + # http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220308T023001Z.fail.html.gz + # + # 1) Failure: + # TestThreadQueue#test_thr_kill [/usr/home/chkbuild/chkbuild/tmp/build/20220308T023001Z/ruby/test/ruby/test_thread_queue.rb:175]: + # only 169/250 done in 60 seconds. + exclude(:test_thr_kill, 'gets stuck somewhere') +end diff --git a/test/.excludes/_appveyor/TestArray.rb b/test/.excludes/_appveyor/TestArray.rb new file mode 100644 index 0000000000..7d03833f07 --- /dev/null +++ b/test/.excludes/_appveyor/TestArray.rb @@ -0,0 +1,7 @@ +# https://ci.appveyor.com/project/ruby/ruby/builds/20339189/job/ltdpffep976xtj85 +# `test_push_over_ary_max': failed to allocate memory (NoMemoryError) +exclude(:test_push_over_ary_max, 'Sometimes AppVeyor has insufficient memory to run this test') +# https://ci.appveyor.com/project/ruby/ruby/builds/20728419/job/o73q9fy1ojfibg5v +exclude(:test_unshift_over_ary_max, 'Sometimes AppVeyor has insufficient memory to run this test') +# https://ci.appveyor.com/project/ruby/ruby/builds/20427662/job/prq9i2lkfxv2j0uy +exclude(:test_splice_over_ary_max, 'Sometimes AppVeyor has insufficient memory to run this test') |