Skip to content

Commit 88956b8

Browse files
sobucherhankur
authored andcommitted
ci: collect gdb logs
1 parent a3358b8 commit 88956b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitlab/ci/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
artifacts:
1111
paths:
1212
- $TEST_RUN_DIR/debug_backend_tests.log
13+
- $TEST_RUN_DIR/gdb_logs
1314
- $TEST_RUN_DIR/esp_cov_files
1415
reports:
1516
junit:

.gitlab/ci/util.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
export DIST_DIR=${PWD}/${TEST_RUN_DIR}/${DIST_INSTALLED_DIR}
3838
export PYTHONPATH=$PWD/${TEST_RUN_DIR}:$PWD/testing/esp/py_debug_backend
3939
echo "CHIP_TEST_TOOLCHAIN: ${CHIP_TEST_TOOLCHAIN}"
40-
testing/esp/run_tests.py -o $DIST_DIR/bin/openocd -s $DIST_DIR/share/openocd/scripts -a $PWD/$TEST_RUN_DIR -t ${CHIP_TEST_TOOLCHAIN}-elf- -d 4 -l $PWD/$TEST_RUN_DIR/debug_backend_tests.log -tr x -to $PWD/$TEST_RUN_DIR/results $TEST_RUN_EXTRA_OPTS -c "${OOCD_CMDS}"
40+
testing/esp/run_tests.py -o $DIST_DIR/bin/openocd -s $DIST_DIR/share/openocd/scripts -a $PWD/$TEST_RUN_DIR -t ${CHIP_TEST_TOOLCHAIN}-elf- -d 4 -l $PWD/$TEST_RUN_DIR/debug_backend_tests.log -gl $PWD/$TEST_RUN_DIR/gdb_logs -tr x -to $PWD/$TEST_RUN_DIR/results $TEST_RUN_EXTRA_OPTS -c "${OOCD_CMDS}"
4141

4242
.run_tests_linux:
4343
script:

0 commit comments

Comments
 (0)