Skip to content

Commit bee2ed2

Browse files
committed
ci: fix app_trace_basic rules and test
1 parent 4b66444 commit bee2ed2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/system/.build-test-rules.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
examples/system/app_trace_basic:
44
disable_test:
5-
- if: IDF_TARGET in ["esp32p4", "esp32h21"]
5+
- if: IDF_TARGET == "esp32p4"
66
temporary: true
77
reason: lack of runners.
8+
- if: IDF_TARGET == "esp32h21"
9+
temporary: true
10+
reason: not supported yet #TODO: OCD-1081
11+
- if: IDF_TARGET == "esp32h4"
12+
temporary: true
13+
reason: not supported yet #TODO: OCD-1137
814

915
examples/system/base_mac_address:
1016
depends_components:

examples/system/app_trace_basic/pytest_app_trace_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def _test_examples_app_trace_basic(dut: IdfDut) -> None:
131131
with open(openocd.log_file, encoding='utf-8') as oocd_log: # pylint: disable=protected-access
132132
cores = 1 if dut.app.sdkconfig.get('ESP_SYSTEM_SINGLE_CORE_MODE') is True else 2
133133
search_strings.append('App trace params: from {} cores,'.format(cores))
134-
found = False
135134
for search_str in search_strings:
135+
found = False
136136
oocd_log.seek(0)
137137
for line in oocd_log:
138138
if search_str in line:

0 commit comments

Comments
 (0)