Просмотр исходного кода

Merge branch 'bugfix/efuse-improve-qemu-test' into 'master'

efuse: simplify qemu test script

See merge request espressif/esp-idf!24206
Zim Kalinowski 2 лет назад
Родитель
Сommit
f59394f36b
1 измененных файлов с 2 добавлено и 7 удалено
  1. 2 7
      components/efuse/test_apps/pytest_efuse.py

+ 2 - 7
components/efuse/test_apps/pytest_efuse.py

@@ -1,8 +1,6 @@
 # SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
 # SPDX-License-Identifier: Unlicense OR CC0-1.0
 
-from time import sleep
-
 import pytest
 from pytest_embedded import Dut
 
@@ -19,9 +17,6 @@ def test_efuse(dut: Dut) -> None:
 
 @pytest.mark.qemu
 @pytest.mark.esp32
+@pytest.mark.host_test
 def test_efuse_qemu(dut: Dut) -> None:
-    dut.expect_exact('Press ENTER to see the list of tests')
-    # dut may not be ready to accept input, so adding the delay until handled in pytest embedded (RDT-328)
-    sleep(1)
-    dut.write('*')
-    dut.expect_unity_test_output(timeout=200)
+    dut.run_all_single_board_cases()