зеркало из https://github.com/github/ruby.git
[PRISM] Add temporary test exclusions to get eval passing
This commit is contained in:
Родитель
adb2fbf69a
Коммит
5de3e3057a
|
@ -90,7 +90,7 @@ jobs:
|
|||
timeout-minutes: 40
|
||||
env:
|
||||
GNUMAKEFLAGS: ''
|
||||
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="test_ast.rb" --exclude="test_regexp.rb" --exclude="error_highlight/test_error_highlight.rb"'
|
||||
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="test_ast.rb" --exclude="test_marshal.rb" --exclude="test_regexp.rb" --exclude="error_highlight/test_error_highlight.rb" --exclude="irb/test_context.rb" --exclude="prism/encoding_test.rb" --exclude="prism/unescape_test.rb"'
|
||||
RUN_OPTS: ${{ matrix.run_opts }}
|
||||
|
||||
# - name: make test-spec
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_assignment, "unknown")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_redefinition_mismatch, "incorrect line number")
|
|
@ -0,0 +1,6 @@
|
|||
exclude(:test_with_filename_and_safe_level, "incorrect line number")
|
||||
exclude(:test_with_filename_lineno, "incorrect line number")
|
||||
exclude(:test_with_filename, "incorrect line number")
|
||||
exclude(:test_with_location, "incorrect line number")
|
||||
exclude(:test_without_filename_with_safe_level, "incorrect line number")
|
||||
exclude(:test_without_filename, "incorrect line number")
|
|
@ -0,0 +1,6 @@
|
|||
exclude(:test_def_method_with_fname, "incorrect line number")
|
||||
exclude(:test_def_method_without_filename, "incorrect line number")
|
||||
exclude(:test_eval_input_with_exception, "incorrect line number")
|
||||
exclude(:test_keep_lineno, "incorrect line number")
|
||||
exclude(:test_multi_line_comment_lineno, "incorrect line number")
|
||||
exclude(:test_multi_line_comment_lineno, "incorrect line number")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_def_method_with_fname, "unknown")
|
|
@ -0,0 +1,5 @@
|
|||
exclude(:test_eval_ascii_incompatible, "incorrect encoding")
|
||||
exclude(:test_eval_location_binding, "incorrect line number")
|
||||
exclude(:test_file_encoding, "incorrect encoding")
|
||||
exclude(:test_with_filename_and_safe_level, "incorrect line number")
|
||||
exclude(:test_with_filename_lineno, "incorrect line number")
|
|
@ -0,0 +1,2 @@
|
|||
exclude(:test_errinfo_encoding_in_debug, "unknown")
|
||||
exclude(:test_syntax_error_path, "unknown")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_input_line_number_range, "line numbers")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_syntax_error_message, "unknown")
|
|
@ -1,5 +1,19 @@
|
|||
exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_magic_comment_at_various_positions, "unknown")
|
||||
exclude(:test_magic_comment, "unknown")
|
||||
exclude(:test_nonascii_method_name, "unknown")
|
||||
exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997")
|
||||
exclude(:test_regexp_euc, "unknown")
|
||||
exclude(:test_regexp_mixed_unicode, "unknown")
|
||||
exclude(:test_regexp_property, "unknown")
|
||||
exclude(:test_regexp_sjis, "unknown")
|
||||
exclude(:test_regexp_too_short_multibyte_character, "unknown")
|
||||
exclude(:test_regexp_unicode, "unknown")
|
||||
exclude(:test_regexp_usascii, "unknown")
|
||||
exclude(:test_str_dump, "unknown")
|
||||
exclude(:test_string_ascii_literal, "unknown")
|
||||
exclude(:test_string_eucjp_literal, "unknown")
|
||||
exclude(:test_string_mixed_unicode, "unknown")
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_basic, "unknown")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_redefinition_mismatch, "unknown")
|
|
@ -0,0 +1,23 @@
|
|||
exclude(:test_assign_in_conditional, "missing warning")
|
||||
exclude(:test_eval_ascii_incompatible, "unknown")
|
||||
exclude(:test_eval_location_binding, "incorrect line number")
|
||||
exclude(:test_file_encoding, "unknown")
|
||||
exclude(:test_here_document, "incorrect heredoc")
|
||||
exclude(:test_literal_in_conditional, "missing warning")
|
||||
exclude(:test_magic_comment, "incorrect encoding")
|
||||
exclude(:test_negative_line_number, "incorrect line number")
|
||||
exclude(:test_nonascii_const_set, "incorrect encoding")
|
||||
exclude(:test_nonascii_constant, "incorrect encoding")
|
||||
exclude(:test_question, "missing warning")
|
||||
exclude(:test_redefinition_mismatch, "unknown")
|
||||
exclude(:test_serial_comparison, "missing warning")
|
||||
exclude(:test_shareable_constant_value_nested, "ractor support")
|
||||
exclude(:test_shareable_constant_value_nonliteral, "ractor support")
|
||||
exclude(:test_shareable_constant_value_simple, "ractor support")
|
||||
exclude(:test_shareable_constant_value_unfrozen, "ractor support")
|
||||
exclude(:test_shareable_constant_value_unshareable_literal, "ractor support")
|
||||
exclude(:test_string, "incorrect encoding")
|
||||
exclude(:test_unused_variable, "missing warning")
|
||||
exclude(:test_utf8_bom, "incorrect error")
|
||||
exclude(:test_void_expr_stmts_value, "missing warning")
|
||||
exclude(:test_whitespace_warning, "missing warning")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_hash_pattern, "useless literal warning missing")
|
|
@ -0,0 +1 @@
|
|||
exclude(:test_profile_frames, "unknown")
|
|
@ -1 +1,6 @@
|
|||
exclude(:test_dregexp, "unknown")
|
||||
exclude(:test_float, "numbered parameters inside evals")
|
||||
exclude(:test_frozen_string_in_array_literal, "incorrect frozen value")
|
||||
exclude(:test_hash_duplicated_key, "missing warning")
|
||||
exclude(:test_integer, "numbered parameters inside evals")
|
||||
exclude(:test_string, "https://github.com/ruby/prism/issues/2331")
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
exclude(:test_class, "unknown")
|
||||
exclude(:test_return, "unknown")
|
||||
exclude(:test_return2, "unknown")
|
||||
exclude(:test_script_compiled, "unknown")
|
||||
exclude(:test_set_trace_func, "unknown")
|
||||
exclude(:test_thread_trace, "unknown")
|
||||
exclude(:test_tracepoint, "unknown")
|
|
@ -1 +1,12 @@
|
|||
exclude(:test_dedented_heredoc_concatenation, "unknown")
|
||||
exclude(:test_dedented_heredoc_continued_line, "unknown")
|
||||
exclude(:test_duplicated_when, "unknown")
|
||||
exclude(:test_integer_suffix, "unknown")
|
||||
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")
|
||||
exclude(:test_keyword_duplicated, "unknown")
|
||||
exclude(:test_numbered_parameter, "unknown")
|
||||
exclude(:test_range_at_eol, "unknown")
|
||||
exclude(:test_too_big_nth_ref, "unknown")
|
||||
exclude(:test_warning_for_cr, "unknown")
|
||||
exclude(:test_warning_literal_in_condition, "unknown")
|
||||
exclude(:test_warning_literal_in_flip_flop, "unknown")
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
exclude(:test_fail, "unknown")
|
||||
exclude(:test_regexp, "unknown")
|
Загрузка…
Ссылка в новой задаче