summaryrefslogtreecommitdiff
path: root/test/excludes
diff options
context:
space:
mode:
Diffstat (limited to 'test/excludes')
-rw-r--r--test/excludes/TestException.rb8
-rw-r--r--test/excludes/TestIO_Console.rb2
-rw-r--r--test/excludes/TestISeq.rb1
-rw-r--r--test/excludes/TestThread.rb2
4 files changed, 13 insertions, 0 deletions
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/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..ea73a4c010
--- /dev/null
+++ b/test/excludes/TestThread.rb
@@ -0,0 +1,2 @@
+# frozen_string_literal: false
+exclude(/_stack_size$/, 'often too expensive')