Skip to content

Commit

Permalink
testing/esp: log task number in skip reason when applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
sobuch authored and erhankur committed Dec 11, 2024
1 parent 35d57a5 commit c42a793
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions testing/esp/test_bp.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,11 @@ def setUp(self):
DebuggerGenericTestAppTestsDual.setUp(self)
BreakpointTestsImpl.setUp(self)

@skip_for_chip_and_ver('5.1', ['esp32s3'])
@skip_for_chip_and_ver('5.1', ['esp32s3'], "skipped - OCD-1027")
def test_2cores_concurrently_hit_bps(self):
two_cores_concurrently_hit_bps(self)

# OCD-773
@skip_for_chip(['esp32', 'esp32p4'])
@skip_for_chip(['esp32', 'esp32p4'], "skipped - OCD-773")
def test_appcpu_early_hw_bps(self):
appcpu_early_hw_bps(self)

Expand All @@ -375,8 +374,7 @@ def setUp(self):
def test_2cores_concurrently_hit_bps(self):
two_cores_concurrently_hit_bps(self)

# OCD-773
@skip_for_chip(['esp32'])
@skip_for_chip(['esp32'], "skipped - OCD-773, OCD-1006")
def test_appcpu_early_hw_bps(self):
appcpu_early_hw_bps(self)

Expand Down
2 changes: 1 addition & 1 deletion testing/esp/test_special.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _debug_image(self):
self.run_to_bp_and_check(dbg.TARGET_STOP_REASON_BP, 'vTaskDelay', ['vTaskDelay0'])
self.clear_bps()

@skip_for_chip(['esp32s3', 'esp32', 'esp32c5', 'esp32c61'])
@skip_for_chip(['esp32s3', 'esp32', 'esp32c5', 'esp32c61'], "skipped - OCD-1011")
def test_debugging_works_after_hw_reset(self):
"""
This test checks that debugging works after HW reset.
Expand Down
2 changes: 1 addition & 1 deletion testing/esp/test_sysview.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def test_heap_log_from_file(self):
########################################################################
# TESTS DEFINITION WITH SPECIAL TESTS #
########################################################################
@skip_for_chip(['esp32s3'])
@skip_for_chip(['esp32s3'], "skipped - OCD-992")
class SysViewTraceTestAppTestsDual(DebuggerGenericTestAppTests):
""" Base class to run tests which use gcov test app in dual core mode
"""
Expand Down

0 comments on commit c42a793

Please sign in to comment.