Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions spec/mmtk.mspec
Original file line number Diff line number Diff line change
@@ -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")
1 change: 1 addition & 0 deletions test/.excludes-mmtk/TestArgf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude(:test_inplace_bug_17117, "times out in debug mode on Ubuntu")
1 change: 1 addition & 0 deletions test/.excludes-mmtk/TestEnv.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude(:test_select_bang_in_ractor, "MMTk does not fully support Ractors")
25 changes: 25 additions & 0 deletions test/.excludes-mmtk/TestGc.rb
Original file line number Diff line number Diff line change
@@ -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")
3 changes: 3 additions & 0 deletions test/.excludes-mmtk/TestObjSpace.rb
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 4 additions & 0 deletions test/.excludes-mmtk/TestProcess.rb
Original file line number Diff line number Diff line change
@@ -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")
1 change: 1 addition & 0 deletions test/.excludes-mmtk/TestTracepointObj.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude(:test_tracks_objspace_count, "testing behaviour specific to default GC")