Skip to content

Commit f62e580

Browse files
Add MMTk test exclusions for Ruby CI
1 parent 17dad25 commit f62e580

File tree

7 files changed

+47
-0
lines changed

7 files changed

+47
-0
lines changed

spec/mmtk.mspec

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
# Testing behaviour specific to default GC
4+
MSpec.register(:exclude, "GC.stat increases major_gc_count after GC is run")
5+
MSpec.register(:exclude, "GC.stat provides some number for heap_free_slots")
6+
# GC::Profiler is not implemented
7+
MSpec.register(:exclude, "GC::Profiler.disable disables the profiler")
8+
MSpec.register(:exclude, "GC::Profiler.enable enables the profiler")
9+
MSpec.register(:exclude, "GC::Profiler.enabled? reports as disabled when disabled")
10+
MSpec.register(:exclude, "GC::Profiler.enabled? reports as enabled when enabled")
11+
MSpec.register(:exclude, "GC::Profiler.result returns a string")
12+
MSpec.register(:exclude, "GC::Profiler.total_time returns an float")

test/.excludes-mmtk/TestArgf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_inplace_bug_17117, "times out in debug mode on Ubuntu")

test/.excludes-mmtk/TestEnv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_select_bang_in_ractor, "MMTk does not fully support Ractors")

test/.excludes-mmtk/TestGc.rb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
exclude(:test_expand_heap, "testing behaviour specific to default GC")
2+
exclude(:test_gc_config_disable_major, "testing behaviour specific to default GC")
3+
exclude(:test_gc_config_disable_major_gc_start_always_works, "testing behaviour specific to default GC")
4+
exclude(:test_gc_config_full_mark_by_default, "testing behaviour specific to default GC")
5+
exclude(:test_gc_config_invalid_args, "testing behaviour specific to default GC")
6+
exclude(:test_gc_config_setting_returns_updated_config_hash, "testing behaviour specific to default GC")
7+
exclude(:test_gc_internals, "testing behaviour specific to default GC")
8+
exclude(:test_gc_parameter, "testing behaviour specific to default GC")
9+
exclude(:test_gc_parameter_init_slots, "testing behaviour specific to default GC")
10+
exclude(:test_latest_gc_info, "testing behaviour specific to default GC")
11+
exclude(:test_latest_gc_info_argument, "testing behaviour specific to default GC")
12+
exclude(:test_latest_gc_info_need_major_by, "testing behaviour specific to default GC")
13+
exclude(:test_latest_gc_info_weak_references_count, "testing behaviour specific to default GC")
14+
exclude(:test_old_to_young_reference, "testing behaviour specific to default GC")
15+
exclude(:test_profiler_enabled, "MMTk does not have GC::Profiler")
16+
exclude(:test_profiler_raw_data, "MMTk does not have GC::Profiler")
17+
exclude(:test_profiler_total_time, "MMTk does not have GC::Profiler")
18+
exclude(:test_start_full_mark, "testing behaviour specific to default GC")
19+
exclude(:test_start_immediate_sweep, "testing behaviour specific to default GC")
20+
exclude(:test_stat, "testing behaviour specific to default GC")
21+
exclude(:test_stat_constraints, "testing behaviour specific to default GC")
22+
exclude(:test_stat_heap, "testing behaviour specific to default GC")
23+
exclude(:test_stat_heap_all, "testing behaviour specific to default GC")
24+
exclude(:test_stat_heap_constraints, "testing behaviour specific to default GC")
25+
exclude(:test_thrashing_for_young_objects, "testing behaviour specific to default GC")

test/.excludes-mmtk/TestObjSpace.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exclude(:test_dump_all_full, "testing behaviour specific to default GC")
2+
exclude(:test_dump_flags, "testing behaviour specific to default GC")
3+
exclude(:test_finalizer, "times out in debug mode on Ubuntu")

test/.excludes-mmtk/TestProcess.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
exclude(:test_daemon_no_threads, "MMTk spawns worker threads after fork")
2+
exclude(:test_warmup_frees_pages, "testing behaviour specific to default GC")
3+
exclude(:test_warmup_promote_all_objects_to_oldgen, "testing behaviour specific to default GC")
4+
exclude(:test_warmup_run_major_gc_and_compact, "testing behaviour specific to default GC")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude(:test_tracks_objspace_count, "testing behaviour specific to default GC")

0 commit comments

Comments
 (0)