From ef8dc0f9a16d9f8c2548d9ad52e9e03413d8212c Mon Sep 17 00:00:00 2001 From: Alexey Gerenkov Date: Thu, 20 Sep 2018 11:09:37 +0300 Subject: [PATCH] esp32_tests: Fixes tests to work with FreeRTOS task function wrapper --- .gitlab-ci.yml | 1 - testing/esp/test_bp.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 712a861d61..b86e315320 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/testing/esp/test_bp.py b/testing/esp/test_bp.py index 0298a8fc9f..7fa4cb449d 100644 --- a/testing/esp/test_bp.py +++ b/testing/esp/test_bp.py @@ -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