MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / tf_only_report_unmatched

Function tf_only_report_unmatched

tests/test_main.c:1088–1101  ·  view source on GitHub ↗

The strict half of the selection: every token this process was responsible * for must have entered its whole suite or matched its explicit test. */

Source from the content-addressed store, hash-verified

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. */
1088static 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 ──────────────────────────────────────

Callers 1

mainFunction · 0.85

Calls 1

tf_only_compareFunction · 0.85

Tested by

no test coverage detected