| 596 | } |
| 597 | |
| 598 | static bool te_trigger(te_ctx_t *c, const char *suite, bool reached, bool changed, bool rule) { |
| 599 | if (!te_is_runner_suite(c, suite)) { |
| 600 | return true; /* outside this runner's selection */ |
| 601 | } |
| 602 | if (!te_grow((void **)&c->triggers, &c->trigger_cap, c->trigger_count, sizeof(*c->triggers))) { |
| 603 | return te_oom(c); |
| 604 | } |
| 605 | c->triggers[c->trigger_count++] = (cbm_test_suite_trigger_t){ |
| 606 | .suite = suite, .reached = reached, .changed = changed, .rule = rule}; |
| 607 | return true; |
| 608 | } |
| 609 | |
| 610 | static bool te_suite_triggers(te_ctx_t *c, cbm_impact_walk_t *walk) { |
| 611 | int n = 0; |
no test coverage detected