mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-27 02:16:51 +00:00
heap: Wrap the function hook feature under a configuration
also update heap_debug.rst and mem_alloc.rst to provide information about the feature
This commit is contained in:

committed by
Mahavir Jain

parent
5a1f0cd63c
commit
2f982107dc
@@ -102,3 +102,17 @@ def test_memory_protection(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('[heap][mem_prot]')
|
||||
dut.expect_unity_test_output(timeout=300)
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'func_hooks'
|
||||
]
|
||||
)
|
||||
def test_heap_func_hooks(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('"test allocation and free function hooks"')
|
||||
dut.expect_unity_test_output(timeout=300)
|
||||
|
Reference in New Issue
Block a user