Skip to content

Commit

Permalink
esp32_tests: Fixes tests to work with FreeRTOS task function wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
gerekon committed Sep 20, 2018
1 parent 0c2b1d4 commit ef8dc0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ run_autotests_linux64:
image: $CI_DOCKER_REGISTRY/esp32-ci-env
tags:
- test_jtag
allow_failure: true
artifacts:
paths:
- testing/esp/debug_backend_tests.log
Expand Down
2 changes: 1 addition & 1 deletion testing/esp/test_bp.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run_to_bp_and_check_basic(self, exp_rsn, func_name):

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

0 comments on commit ef8dc0f

Please sign in to comment.