Skip to content

Commit 13bad2e

Browse files
committed
bricks/virtualhub: Delete gcda files prior to tests.
This lets tests work the second time without cleaning the whole build.
1 parent 9c3c475 commit 13bad2e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test-virtualhub.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ make -s -j $(nproc --all) -C "$BRICK_DIR" BUILD="$BUILD_DIR_NAME" CI_MODE=1
2727

2828
export MICROPY_MICROPYTHON="$BUILD_DIR/firmware.elf"
2929

30+
find "$BUILD_DIR" -name '*.gcda' -type f -delete
31+
3032
cd "$MP_TEST_DIR"
3133
./run-tests.py --test-dirs $(find "$PB_TEST_DIR/virtualhub" -type d -and ! -wholename "*/build/*" -and ! -wholename "*/run_test.py") "$@" || \
3234
(code=$?; ./run-tests.py --print-failures; exit $code)

0 commit comments

Comments
 (0)