mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'ci/esp_intr_dump_qemu_timeout_v5.3' into 'release/v5.3'
ci(qemu): increase timeout for esp_intr_dump test (v5.3) See merge request espressif/esp-idf!31787
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ PROMPT = 'test_intr_dump>'
|
|||||||
@pytest.mark.qemu
|
@pytest.mark.qemu
|
||||||
@pytest.mark.host_test
|
@pytest.mark.host_test
|
||||||
def test_esp_intr_dump_nonshared(dut: Dut) -> None:
|
def test_esp_intr_dump_nonshared(dut: Dut) -> None:
|
||||||
dut.expect_exact(PROMPT, timeout=10)
|
dut.expect_exact(PROMPT, timeout=30)
|
||||||
|
|
||||||
dut.write('intr_alloc GPIO LEVEL3\n')
|
dut.write('intr_alloc GPIO LEVEL3\n')
|
||||||
dut.expect_exact('Allocated GPIO LEVEL3')
|
dut.expect_exact('Allocated GPIO LEVEL3')
|
||||||
@ -26,7 +26,7 @@ def test_esp_intr_dump_nonshared(dut: Dut) -> None:
|
|||||||
@pytest.mark.qemu
|
@pytest.mark.qemu
|
||||||
@pytest.mark.host_test
|
@pytest.mark.host_test
|
||||||
def test_esp_intr_dump_shared(dut: Dut) -> None:
|
def test_esp_intr_dump_shared(dut: Dut) -> None:
|
||||||
dut.expect_exact(PROMPT, timeout=10)
|
dut.expect_exact(PROMPT, timeout=30)
|
||||||
|
|
||||||
dut.write('intr_alloc GPIO SHARED\n')
|
dut.write('intr_alloc GPIO SHARED\n')
|
||||||
dut.expect_exact('Allocated GPIO SHARED')
|
dut.expect_exact('Allocated GPIO SHARED')
|
||||||
@ -50,7 +50,7 @@ def test_esp_intr_dump_shared(dut: Dut) -> None:
|
|||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
|
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
|
||||||
dut.expect_exact(PROMPT, timeout=10)
|
dut.expect_exact(PROMPT, timeout=30)
|
||||||
dut.write('intr_dump\n')
|
dut.write('intr_dump\n')
|
||||||
exp_out_file = os.path.join(os.path.dirname(__file__), 'expected_output', f'{dut.target}.txt')
|
exp_out_file = os.path.join(os.path.dirname(__file__), 'expected_output', f'{dut.target}.txt')
|
||||||
for line in open(exp_out_file, 'r').readlines():
|
for line in open(exp_out_file, 'r').readlines():
|
||||||
|
Reference in New Issue
Block a user