aboutsummaryrefslogtreecommitdiffstats
path: root/test/excludes
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-13 15:23:54 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-13 15:23:54 +0900
commitefc9127790e2e725541de2c36780a852e6c1382c (patch)
treeb12e2c4dc82b9522aeacfab00b5ac0441a35e35c /test/excludes
parentb56e5c6b9425a19c04d4e59410463155ea9db30c (diff)
downloadruby-efc9127790e2e725541de2c36780a852e6c1382c.tar.gz
Prefix `excludes` with a dot to prevent chkbuild from firing wrongly
Chkbuild runs for each directories just under `test` directory when `test-all` failed. `test/excludes` itself should not be a target.
Diffstat (limited to 'test/excludes')
-rw-r--r--test/excludes/TestArray.rb1
-rw-r--r--test/excludes/TestArraySubclass.rb1
-rw-r--r--test/excludes/TestException.rb8
-rw-r--r--test/excludes/TestGem.rb4
-rw-r--r--test/excludes/TestIO_Console.rb2
-rw-r--r--test/excludes/TestISeq.rb1
-rw-r--r--test/excludes/TestThread.rb14
-rw-r--r--test/excludes/TestThreadQueue.rb9
-rw-r--r--test/excludes/_appveyor/TestArray.rb7
9 files changed, 0 insertions, 47 deletions
diff --git a/test/excludes/TestArray.rb b/test/excludes/TestArray.rb
deleted file mode 100644
index 73da272007..0000000000
--- a/test/excludes/TestArray.rb
+++ /dev/null
@@ -1 +0,0 @@
-exclude(:test_shared_marking, "The target code has already been changed")
diff --git a/test/excludes/TestArraySubclass.rb b/test/excludes/TestArraySubclass.rb
deleted file mode 100644
index 73da272007..0000000000
--- a/test/excludes/TestArraySubclass.rb
+++ /dev/null
@@ -1 +0,0 @@
-exclude(:test_shared_marking, "The target code has already been changed")
diff --git a/test/excludes/TestException.rb b/test/excludes/TestException.rb
deleted file mode 100644
index 38d66d63d2..0000000000
--- a/test/excludes/TestException.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# 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
deleted file mode 100644
index 042af26eff..0000000000
--- a/test/excludes/TestGem.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-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
deleted file mode 100644
index caf1935fec..0000000000
--- a/test/excludes/TestIO_Console.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-# frozen_string_literal: false
-exclude(:test_getpass, 'not portable')
diff --git a/test/excludes/TestISeq.rb b/test/excludes/TestISeq.rb
deleted file mode 100644
index b99181eeaf..0000000000
--- a/test/excludes/TestISeq.rb
+++ /dev/null
@@ -1 +0,0 @@
-exclude :test_parent_iseq_mark, "time consuming test"
diff --git a/test/excludes/TestThread.rb b/test/excludes/TestThread.rb
deleted file mode 100644
index cf7e88427e..0000000000
--- a/test/excludes/TestThread.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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
diff --git a/test/excludes/TestThreadQueue.rb b/test/excludes/TestThreadQueue.rb
deleted file mode 100644
index c8231e372a..0000000000
--- a/test/excludes/TestThreadQueue.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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
deleted file mode 100644
index 7d03833f07..0000000000
--- a/test/excludes/_appveyor/TestArray.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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')