[core] Disable LeakSanitizer in C++ unit tests (#14712)

This commit is contained in:
Javier Peletier
2026-03-19 10:13:36 +01:00
committed by GitHub
parent c2c50ceea7
commit 0a3393bed3
+2
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import argparse
from functools import partial
import os
from pathlib import Path
import sys
@@ -35,6 +36,7 @@ PLATFORMIO_OPTIONS = {
def run_tests(selected_components: list[str]) -> int:
os.environ["ASAN_OPTIONS"] = "detect_leaks=0"
return build_and_run(
selected_components=selected_components,
tests_dir=COMPONENTS_TESTS_DIR,