Merge branch 'ci/driver_single_board' into 'master'

ci: update test apps to use run_all_single_board_cases

See merge request espressif/esp-idf!22669
This commit is contained in:
Marius Vikhammer
2023-03-13 09:25:42 +08:00
25 changed files with 47 additions and 103 deletions

View File

@@ -17,6 +17,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_dac(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -16,6 +16,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_legacy_dac(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -16,9 +16,7 @@ from pytest_embedded import Dut
indirect=True,
)
def test_gptimer(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()
@pytest.mark.esp32c2
@@ -32,6 +30,4 @@ def test_gptimer(dut: Dut) -> None:
indirect=True,
)
def test_gptimer_esp32c2_xtal_26mhz(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -21,6 +21,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_i2s(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import pytest
@@ -15,6 +15,5 @@ from pytest_embedded import Dut
indirect=True,
)
def test_i2s_adc_dac(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
# ADC_DMA_read test takes more than 30 sec
dut.run_all_single_board_cases(timeout=60)

View File

@@ -20,6 +20,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_legacy_i2s(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -17,6 +17,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_parlio(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()

View File

@@ -20,6 +20,4 @@ from pytest_embedded import Dut
indirect=True,
)
def test_pulse_cnt(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()
dut.run_all_single_board_cases()