[ruby/mmtk] Add MMTk test exclusions for Ruby CI

https://github.com/ruby/mmtk/commit/f62e5803f1
This commit is contained in:
Matt Valentine-House 2024-12-05 19:47:03 +00:00 committed by git
parent 7ccad5b9f8
commit d4fb966186
7 changed files with 47 additions and 0 deletions

12
spec/mmtk.mspec Normal file
View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
# Testing behaviour specific to default GC
MSpec.register(:exclude, "GC.stat increases major_gc_count after GC is run")
MSpec.register(:exclude, "GC.stat provides some number for heap_free_slots")
# GC::Profiler is not implemented
MSpec.register(:exclude, "GC::Profiler.disable disables the profiler")
MSpec.register(:exclude, "GC::Profiler.enable enables the profiler")
MSpec.register(:exclude, "GC::Profiler.enabled? reports as disabled when disabled")
MSpec.register(:exclude, "GC::Profiler.enabled? reports as enabled when enabled")
MSpec.register(:exclude, "GC::Profiler.result returns a string")
MSpec.register(:exclude, "GC::Profiler.total_time returns an float")

View File

@ -0,0 +1 @@
exclude(:test_inplace_bug_17117, "times out in debug mode on Ubuntu")

View File

@ -0,0 +1 @@
exclude(:test_select_bang_in_ractor, "MMTk does not fully support Ractors")

View File

@ -0,0 +1,25 @@
exclude(:test_expand_heap, "testing behaviour specific to default GC")
exclude(:test_gc_config_disable_major, "testing behaviour specific to default GC")
exclude(:test_gc_config_disable_major_gc_start_always_works, "testing behaviour specific to default GC")
exclude(:test_gc_config_full_mark_by_default, "testing behaviour specific to default GC")
exclude(:test_gc_config_invalid_args, "testing behaviour specific to default GC")
exclude(:test_gc_config_setting_returns_updated_config_hash, "testing behaviour specific to default GC")
exclude(:test_gc_internals, "testing behaviour specific to default GC")
exclude(:test_gc_parameter, "testing behaviour specific to default GC")
exclude(:test_gc_parameter_init_slots, "testing behaviour specific to default GC")
exclude(:test_latest_gc_info, "testing behaviour specific to default GC")
exclude(:test_latest_gc_info_argument, "testing behaviour specific to default GC")
exclude(:test_latest_gc_info_need_major_by, "testing behaviour specific to default GC")
exclude(:test_latest_gc_info_weak_references_count, "testing behaviour specific to default GC")
exclude(:test_old_to_young_reference, "testing behaviour specific to default GC")
exclude(:test_profiler_enabled, "MMTk does not have GC::Profiler")
exclude(:test_profiler_raw_data, "MMTk does not have GC::Profiler")
exclude(:test_profiler_total_time, "MMTk does not have GC::Profiler")
exclude(:test_start_full_mark, "testing behaviour specific to default GC")
exclude(:test_start_immediate_sweep, "testing behaviour specific to default GC")
exclude(:test_stat, "testing behaviour specific to default GC")
exclude(:test_stat_constraints, "testing behaviour specific to default GC")
exclude(:test_stat_heap, "testing behaviour specific to default GC")
exclude(:test_stat_heap_all, "testing behaviour specific to default GC")
exclude(:test_stat_heap_constraints, "testing behaviour specific to default GC")
exclude(:test_thrashing_for_young_objects, "testing behaviour specific to default GC")

View File

@ -0,0 +1,3 @@
exclude(:test_dump_all_full, "testing behaviour specific to default GC")
exclude(:test_dump_flags, "testing behaviour specific to default GC")
exclude(:test_finalizer, "times out in debug mode on Ubuntu")

View File

@ -0,0 +1,4 @@
exclude(:test_daemon_no_threads, "MMTk spawns worker threads after fork")
exclude(:test_warmup_frees_pages, "testing behaviour specific to default GC")
exclude(:test_warmup_promote_all_objects_to_oldgen, "testing behaviour specific to default GC")
exclude(:test_warmup_run_major_gc_and_compact, "testing behaviour specific to default GC")

View File

@ -0,0 +1 @@
exclude(:test_tracks_objspace_count, "testing behaviour specific to default GC")