summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-09-11 11:59:24 -0400
committerKevin Newton <[email protected]>2024-09-12 13:43:04 -0400
commitd5232fd7aee45d1dba3d07cdbf29389207e5ef6c (patch)
tree6661463d2ec7bfa3cdcb2eb0ff0f5451e21b012c
parentf59b908e477797b069bd5628440df6977e972916 (diff)
Temporarily exclude some TestRubyOptions test for parse.y
The description has been updated when running with Prism to have +PRISM, which means that tests asserting against the description when running with --parser=parse.y will be incorrect if the subprocess ends up using Prism. We need to fix these tests, but we are currently disabling them in order to get this over the line.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11497
-rw-r--r--test/.excludes-parsey/TestBugReporter.rb1
-rw-r--r--test/.excludes-parsey/TestRubyOptions.rb10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/.excludes-parsey/TestBugReporter.rb b/test/.excludes-parsey/TestBugReporter.rb
new file mode 100644
index 0000000000..72357760a6
--- /dev/null
+++ b/test/.excludes-parsey/TestBugReporter.rb
@@ -0,0 +1 @@
+exclude(:test_bug_reporter_add, "unexpected +PRISM in the Ruby description")
diff --git a/test/.excludes-parsey/TestRubyOptions.rb b/test/.excludes-parsey/TestRubyOptions.rb
new file mode 100644
index 0000000000..f6ac8c744a
--- /dev/null
+++ b/test/.excludes-parsey/TestRubyOptions.rb
@@ -0,0 +1,10 @@
+exclude(:test_crash_report_executable_path, "unexpected +PRISM in the Ruby description")
+exclude(:test_crash_report_script_path, "unexpected +PRISM in the Ruby description")
+exclude(:test_crash_report_script, "unexpected +PRISM in the Ruby description")
+exclude(:test_crash_report, "unexpected +PRISM in the Ruby description")
+exclude(:test_rjit_disabled_version, "unexpected +PRISM in the Ruby description")
+exclude(:test_segv_loaded_features, "unexpected +PRISM in the Ruby description")
+exclude(:test_segv_setproctitle, "unexpected +PRISM in the Ruby description")
+exclude(:test_segv_test, "unexpected +PRISM in the Ruby description")
+exclude(:test_verbose, "unexpected +PRISM in the Ruby description")
+exclude(:test_version, "unexpected +PRISM in the Ruby description")