ci: replace pytest function for linux target

This commit is contained in:
igor.udot 2024-06-13 08:42:17 +08:00
parent 8691672f03
commit b0e8ce0111
5 changed files with 5 additions and 15 deletions

View File

@ -21,6 +21,4 @@ def test_efuse_qemu(dut: Dut) -> None:
@pytest.mark.linux
@pytest.mark.host_test
def test_efuse_linux(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests.')
dut.write('*')
dut.expect_unity_test_output(timeout=60)
dut.run_all_single_board_cases(timeout=60)

View File

@ -7,6 +7,4 @@ from pytest_embedded import Dut
@pytest.mark.linux
@pytest.mark.host_test
def test_esp_hw_support_linux(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('![ignore]')
dut.expect_unity_test_output(timeout=120)
dut.run_all_single_board_cases(group='!ignore', timeout=120)

View File

@ -7,6 +7,4 @@ from pytest_embedded import Dut
@pytest.mark.linux
@pytest.mark.host_test
def test_esp_system_linux(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests.')
dut.write('*')
dut.expect_unity_test_output(timeout=60)
dut.run_all_single_board_cases(timeout=60)

View File

@ -7,6 +7,4 @@ from pytest_embedded import Dut
@pytest.mark.linux
@pytest.mark.host_test
def test_hal_utils(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

@ -7,6 +7,4 @@ from pytest_embedded import Dut
@pytest.mark.linux
@pytest.mark.host_test
def test_heap_linux(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests.')
dut.write('*')
dut.expect_unity_test_output(timeout=60)
dut.run_all_single_board_cases(timeout=60)