The strict half of the selection: every token this process was responsible * for must have entered its whole suite or matched its explicit test. */
| 1086 | /* The strict half of the selection: every token this process was responsible |
| 1087 | * for must have entered its whole suite or matched its explicit test. */ |
| 1088 | static void tf_only_report_unmatched(void) { |
| 1089 | for (size_t i = 0; i < tf_only_count; i++) { |
| 1090 | const tf_only_token_t *token = &tf_only_tokens[i]; |
| 1091 | if (token->state != TF_ONLY_UNSEEN && token->state != TF_ONLY_ENTERED) { |
| 1092 | continue; |
| 1093 | } |
| 1094 | if (i > 0 && tf_only_compare(token, &tf_only_tokens[i - 1]) == 0) { |
| 1095 | continue; /* named twice, reported once */ |
| 1096 | } |
| 1097 | fprintf(stderr, "selected test not compiled into this build or unknown: %s%s%s\n", |
| 1098 | token->suite, token->test[0] ? ":" : "", token->test); |
| 1099 | tf_fail_count++; |
| 1100 | } |
| 1101 | } |
| 1102 | |
| 1103 | #ifdef CBM_TEST_COVERAGE |
| 1104 | /* ── Per-test coverage profiles ────────────────────────────────────── |
no test coverage detected