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
test: report sanitizer build define directly
astandrik95fa63441bf8
diff --git a/tests/test_main.c b/tests/test_main.cindex e66b309de..d1e3bf37b 100644--- a/tests/test_main.c+++ b/tests/test_main.c@@ -18,7 +18,6 @@ int tf_skip_count = 0;#include "foundation/mem.h" /* cbm_mem_init — worker budget */#include "foundation/log.h" /* worker liveness heartbeat probe */#include "foundation/platform.h" /* cbm_file_exists — blocking-git marker */-#include "foundation/sanitized.h" /* CBM_SANITIZED — --build-config contract */#include "daemon/runtime.h" /* bounded worker response probe */#include "daemon/ipc.h" /* Windows private-lock re-exec probe */#include "daemon/version_cohort.h" /* Windows crash-turnover re-exec probe */@@ -944,12 +943,17 @@ int main(int argc, char **argv) {return 2;}#endif+#if defined(CBM_SANITIZED_BUILD) && CBM_SANITIZED_BUILD+ const int sanitized = 1;+#else+ const int sanitized = 0;+#endif#if defined(CBM_ENABLE_TEST_SEAMS) && CBM_ENABLE_TEST_SEAMSconst int test_seams = 1;#elseconst int test_seams = 0;#endif- (void)printf("sanitized=%d test_seams=%d\n", CBM_SANITIZED, test_seams);+ (void)printf("sanitized=%d test_seams=%d\n", sanitized, test_seams);return 0;}/* Skip the multi-hundred-MB executable-image hash that computes the exact