Skip to content

Commit ef8dc0f

Browse files
committed
esp32_tests: Fixes tests to work with FreeRTOS task function wrapper
1 parent 0c2b1d4 commit ef8dc0f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ run_autotests_linux64:
293293
image: $CI_DOCKER_REGISTRY/esp32-ci-env
294294
tags:
295295
- test_jtag
296-
allow_failure: true
297296
artifacts:
298297
paths:
299298
- testing/esp/debug_backend_tests.log

testing/esp/test_bp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def run_to_bp_and_check_basic(self, exp_rsn, func_name):
3333

3434
def run_to_bp_and_check(self, exp_rsn, func_name, lineno_var_prefs):
3535
frames = self.run_to_bp_and_check_basic(exp_rsn, func_name)
36-
outmost_frame = len(frames) - 1
36+
outmost_frame = len(frames) - 2 # -2 because our task function is called by FreeRTOS task wrapper
3737
# Sometimes GDB does not provide full backtrace. so check this
3838
# we can only check line numbers in 'blink_task',
3939
# because its code is under control of test framework

0 commit comments

Comments
 (0)