Second pass: a path no rule matched is read through the graph when it is * a C-family source of the snapshot (or deleted from it); anything else is a * change the test-runner lane cannot reason about (M-10): run everything. */
| 324 | * a C-family source of the snapshot (or deleted from it); anything else is a |
| 325 | * change the test-runner lane cannot reason about (M-10): run everything. */ |
| 326 | static bool te_classify_unmatched(te_ctx_t *c, const bool *unmatched) { |
| 327 | size_t count = 0; |
| 328 | const cbm_change_file_t *files = cbm_changes_files(c->changes, &count); |
| 329 | for (size_t i = 0; i < count; i++) { |
| 330 | if (!unmatched[i]) { |
| 331 | continue; |
| 332 | } |
| 333 | const char *path = (const char *)files[i].path; |
| 334 | bool readable = te_c_family(path) && (files[i].status == 'D' || te_in_ledger(c, path)); |
| 335 | bool ok = readable ? te_add_seed_change(c, &files[i]) |
| 336 | : te_fallback(c, CBM_TEST_RESULT_FALLBACK_UNMAPPED_FILE, path); |
| 337 | if (!ok) { |
| 338 | return false; |
| 339 | } |
| 340 | } |
| 341 | return true; |
| 342 | } |
| 343 | |
| 344 | /* ── Graph scope, seeding, selection ─────────────────────────────── */ |
| 345 |
no test coverage detected