mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/esp_intr_dump_qemu_timeout' into 'master'
ci(qemu): increase timeout for esp_intr_dump test Closes IDFCI-2225 See merge request espressif/esp-idf!31732
This commit is contained in:
commit
be05548666
@ -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
|
||||
import os
|
||||
|
||||
@ -12,7 +12,7 @@ PROMPT = 'test_intr_dump>'
|
||||
@pytest.mark.qemu
|
||||
@pytest.mark.host_test
|
||||
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.expect_exact('Allocated GPIO LEVEL3')
|
||||
@ -26,7 +26,7 @@ def test_esp_intr_dump_nonshared(dut: Dut) -> None:
|
||||
@pytest.mark.qemu
|
||||
@pytest.mark.host_test
|
||||
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.expect_exact('Allocated GPIO SHARED')
|
||||
@ -50,7 +50,7 @@ def test_esp_intr_dump_shared(dut: Dut) -> None:
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.generic
|
||||
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')
|
||||
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():
|
||||
|
Loading…
Reference in New Issue
Block a user