mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
03bc6488de
esp_execute_shared_stack_function always restored the stack watchpoint regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead to an abondoned but active watchpoint on a former stack once the task calling esp_execute_shared_stack_function is deleted, if CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive. This has been fixed now. Closes https://github.com/espressif/esp-idf/issues/10414
13 lines
299 B
Python
13 lines
299 B
Python
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
from pytest_embedded import Dut
|
|
|
|
|
|
@pytest.mark.esp32
|
|
@pytest.mark.esp32c3
|
|
@pytest.mark.generic
|
|
def test_watchpoint(dut: Dut) -> None:
|
|
dut.expect_exact('stacks clean', timeout=3)
|