mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
pytest: Expect "Calling app_main()" to indicate start of application
This commit updates variousf pytest scripts to expect "main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as indicator of the start of an application.
This commit is contained in:
committed by
Sudeep Mohanty
parent
9c3a13515c
commit
02ee20ff3a
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import logging
|
||||
import os
|
||||
@@ -25,7 +25,7 @@ def get_uart_msgs(i: int) -> List[str]:
|
||||
@pytest.mark.generic
|
||||
def test_examples_select(dut: Dut) -> None:
|
||||
|
||||
dut.expect_exact('cpu_start: Starting scheduler', timeout=30)
|
||||
dut.expect_exact('main_task: Calling app_main()', timeout=30)
|
||||
|
||||
exp_list = []
|
||||
for i in range(1, 10):
|
||||
|
||||
Reference in New Issue
Block a user