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): use __SANITIZE_ADDRESS__ alone for sanitizer detection (gcc-portable)
Martin Vogel297003aab403
diff --git a/tests/test_cs_lsp_bench.c b/tests/test_cs_lsp_bench.cindex ea68c7f9b..58a9a619c 100644--- a/tests/test_cs_lsp_bench.c+++ b/tests/test_cs_lsp_bench.c@@ -242,7 +242,7 @@ TEST(cslsp_bench_resolution_ratio) {/* Time budget. ASan+UBSan instrumentation slows the parse ~5-10×, so* scale the budget when a sanitizer is active. Native: 200 ms for a* ~260-line fixture; sanitized: 2000 ms. */-#if defined(__SANITIZE_ADDRESS__) || (defined(__has_feature) && __has_feature(address_sanitizer))+#ifdef __SANITIZE_ADDRESS__ASSERT(ms < 2000.0);#elseASSERT(ms < 200.0);diff --git a/tests/test_py_lsp_bench.c b/tests/test_py_lsp_bench.cindex a74595d20..74af98efe 100644--- a/tests/test_py_lsp_bench.c+++ b/tests/test_py_lsp_bench.c@@ -262,7 +262,7 @@ TEST(pylsp_bench_resolution_ratio) {/* Time budget. ASan+UBSan instrumentation slows the parse ~5-10×, so* scale the budget when a sanitizer is active. Native: 150 ms for a* ~200-line fixture; sanitized: 1500 ms. */-#if defined(__SANITIZE_ADDRESS__) || (defined(__has_feature) && __has_feature(address_sanitizer))+#ifdef __SANITIZE_ADDRESS__ASSERT(ms < 1500.0);#elseASSERT(ms < 150.0);