mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
test(kasan): re-enable kasan_test under build system v2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user