Lines Matching +full:- +full:v
2 # SPDX-License-Identifier: BSD-3-Clause
7 set -e
14 Usage: [ -v ] [ -c platform_defconfig ]
16 Re-compiles unit tests with the host toolchain and runs them one by
18 and better looking to run "make -j test". See
34 v) VALGRIND_CMD="valgrind --tool=memcheck --track-origins=yes \
35 --leak-check=full --show-leak-kinds=all --error-exitcode=1"
42 shift $((OPTIND -1 ))
44 test -z "$1" || usage
49 # -DINIT_CONFIG is ignored after the first time. Invoke make (or
50 # -ninja) after this for faster, incremental builds.
51 rm -rf build_ut/
53 cmake -S "$SOFTOP" -B build_ut -DBUILD_UNIT_TESTS=ON -DBUILD_UNIT_TESTS_HOST=ON \
54 -DINIT_CONFIG="${CONFIG}"
56 cmake --build build_ut -- -j"$(nproc --all)"
61 local TESTS; TESTS=$(find build_ut/test -type f -executable -print)
66 printf 'SKIP alloc test until it is fixed on HOST (passes with xt-run)'
71 ( set -x