feat(scheduler-sim-decision-trace): compile trace sources into REPL/sim tests and the sim isolation checks

Task 5.1: the 26 white-box tests that include repl.c or sim_loop.c now
include the REPL trace sources (and the core trace sources where no
hooked source brings them); sched_sim_isolation_lib carries all trace
sources and the sim isolation test scans the REPL trace files.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rongsong Shen 2026-10-08 14:56:31 +00:00
parent 4df29606f6
commit 8931833132
Signed by untrusted user: rshen
GPG key ID: 80533536B0EB651C
30 changed files with 310 additions and 6 deletions

View file

@ -99,6 +99,16 @@
#include "../src/repl_break.c"
#include "../src/repl_info.c"
#include "../src/repl_params.c"
/* 5.1: the REPL trace sources below call the trace model. */
#include "../src/sched_trace.c"
#include "../src/sched_trace_scan.c"
#include "../src/sched_trace_capture.c"
#include "../src/sched_trace_outcome.c"
#include "../src/repl_trace_render.c"
#include "../src/repl_trace_render_outcome.c"
#include "../src/repl_trace_store.c"
#include "../src/repl_trace.c"
#include "../src/repl_trace_emit.c"
#include "../src/sim.c"
#include "../src/sim_loop.c"
#include "../src/sim_picker.c" /* bug-1567: sched_sim_driver_run() now calls sim_bootstrap_picker() (sim_loop.c-cap sibling) as an extern -- undefined reference at link time otherwise */