test(kasan): re-enable kasan_test under build system v2

This commit is contained in:
Sudeep Mohanty
2026-07-31 10:49:59 +02:00
parent 08e0d30a74
commit cc799dbcc7
2 changed files with 0 additions and 15 deletions

View File

@@ -115,9 +115,6 @@ tools/test_apps/system/init_array:
- tools/tools.json
tools/test_apps/system/kasan_test:
disable:
- if: IDF_BUILD_V2 == "1"
reason: 'KASAN is not yet supported under build system v2. TODO: IDF-15864'
depends_components:
- *common_components
- esp_system

View File

@@ -11,22 +11,10 @@ Two configurations:
at a time via the Unity menu, expecting a panic.
"""
import os
import pytest
from pytest_embedded import Dut
from pytest_embedded_idf.utils import idf_parametrize
# KASAN instrumentation is not yet emitted under build system v2, so the test
# binary never reports a KASAN error and these cases would always fail. Skip the
# whole module at collection time so no target_test job is even generated for it.
# TODO: IDF-15864
if os.environ.get('IDF_BUILD_V2') == '1':
pytest.skip(
'KASAN is not yet supported under build system v2. TODO: IDF-15864',
allow_module_level=True,
)
# ---------------------------------------------------------------------------
# no_halt configuration: all tests pass in one run
# ---------------------------------------------------------------------------