From d5232fd7aee45d1dba3d07cdbf29389207e5ef6c Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 11 Sep 2024 11:59:24 -0400 Subject: [PATCH] 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. --- test/.excludes-parsey/TestBugReporter.rb | 1 + test/.excludes-parsey/TestRubyOptions.rb | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/.excludes-parsey/TestBugReporter.rb create mode 100644 test/.excludes-parsey/TestRubyOptions.rb 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")