Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
fix(test): convert forbidden SKIP()s in the complexity suite to policy forms
Martin Vogelec16764feeb4
diff --git a/tests/test_complexity.c b/tests/test_complexity.cindex 8882418f8..1fe68a71e 100644--- a/tests/test_complexity.c+++ b/tests/test_complexity.c@@ -609,7 +609,12 @@ TEST(complexity_shared_package_growth_stays_linear) {TEST(complexity_throughput_report_written) {const char *skip_perf = getenv("CBM_SKIP_PERF");if (skip_perf && skip_perf[0] == '1') {- SKIP("CBM_SKIP_PERF: throughput rates are meaningless under CPU starvation");+ /* Deliberate operator config, not a hidden environment failure+ * (no-skips policy): rates measured under CBM_SKIP_PERF starvation+ * would only mislead, so reporting is OFF and there is nothing left+ * for this test to assert. */+ fprintf(stderr, " [complexity] CBM_SKIP_PERF=1: throughput report disabled by config\n");+ PASS();}if (cx_measure_pair() != 0) {FAIL("failed to build/run the complexity corpus pair");@@ -619,7 +624,7 @@ TEST(complexity_throughput_report_written) {dir = "private/benchmarks";}if (th_mkdir_p(dir) != 0) {- SKIP("report dir not creatable here (read-only checkout?)");+ FAIL("report dir not creatable (set CBM_COMPLEXITY_REPORT_DIR to a writable path)");}char path[1024];snprintf(path, sizeof(path), "%s/complexity-%lld.json", dir, (long long)time(NULL));