Skip to content

Commit 0937211

Browse files
committed
ci: enable esp32p4 sysview and semihosting tests
1 parent f8db83e commit 0937211

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

.gitlab/ci/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ tests_armhf_esp32p4:
308308
- job: build_linux_arm64_test
309309
variables:
310310
CHIP_NAME: "esp32p4"
311-
TEST_RUN_EXTRA_OPTS: "-i latest -b esp32p4-ftdi -p test_apptrace*.*Dual test_bp*.*Dual test_step*.*Dual"
311+
TEST_RUN_EXTRA_OPTS: "-i latest -b esp32p4-ftdi -p test_apptrace*.*Dual test_bp*.*Dual test_step*.*Dual test_sysview*.*Dual test_semihost*.*Dual"
312312

313313

314314
##############

testing/esp/debug_backend_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def skip_for_chip_and_ver(ver_str, chips_to_skip):
178178
v1 = repr(testee_info.idf_ver).split('.')
179179
v2 = ver_str.split('.')
180180
# check major and minor numbers only.
181-
if v1[0] == v2[0] and v1[1] == v2[1]:
181+
if v1 == v2 or (v1[0] == v2[0] and v1[1] == v2[1]):
182182
skip = True
183183
return unittest.skipIf(skip, "for the '%s' for the IDF_VER='%s'" % (id, testee_info.idf_ver))
184184

testing/esp/test_apps/gen_ut_app/configs/svtrace_dual

+1
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ CONFIG_SYSVIEW_EVT_TASK_TERMINATE_ENABLE=y
2727
CONFIG_SYSVIEW_EVT_IDLE_ENABLE=y
2828
CONFIG_SYSVIEW_EVT_TIMER_ENTER_ENABLE=y
2929
CONFIG_SYSVIEW_EVT_TIMER_EXIT_ENABLE=y
30+
CONFIG_FREERTOS_ISR_STACKSIZE=2048

testing/esp/test_apps/gen_ut_app/configs/svtrace_single

+1
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ CONFIG_SYSVIEW_EVT_TASK_TERMINATE_ENABLE=y
2828
CONFIG_SYSVIEW_EVT_IDLE_ENABLE=y
2929
CONFIG_SYSVIEW_EVT_TIMER_ENTER_ENABLE=y
3030
CONFIG_SYSVIEW_EVT_TIMER_EXIT_ENABLE=y
31+
CONFIG_FREERTOS_ISR_STACKSIZE=2048

testing/esp/test_semihost.py

+4
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def test_semihost_custom(self):
215215
mtime = os.path.getmtime(self.fout_names[i])
216216
self.assertTrue(mtime == 456789)
217217

218+
# OCD-1006
219+
@skip_for_chip(['esp32p4'])
218220
def test_semihost_with_fileio(self):
219221
"""
220222
This test checks that gdb fileIO working as expected.
@@ -227,6 +229,8 @@ def test_semihost_with_fileio(self):
227229
get_logger().info('Compare files [%s, %s]', self.gdb_io_out_names[i], self.gdb_io_in_names[i])
228230
self.assertTrue(filecmp.cmp(self.gdb_io_out_names[i], self.gdb_io_in_names[i]))
229231

232+
# OCD-1006
233+
@skip_for_chip(['esp32p4'])
230234
def test_semihost_with_consoleio(self):
231235
"""
232236
This test checks that gdb consoleIO working as expected.

0 commit comments

Comments
 (0)