Adds test_captured_pend_job_excluded_from_resinuse_until_run: drives a job captured while still PEND through sched_account_jobs() and confirms its resource-in-use contribution is zero; transitions the same job to RUN and confirms sched_account_jobs() now includes its exact captured allocation, with no second reconciliation call in between -- proving the nonzero value comes from the earlier capture, not a fresh one. Required promoting the file's sched_account_jobs() from a no-op stub to a real reimplementation (verbatim body, matching the exact precedent already established in test_sim_contention_parity.c and test_sim_round_boundary_reconciliation.c) plus a resource.c white-box include -- no production code touched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgYRU3zDTqNGV5Jk8aiKLg |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||