fuzz.sh: use set -x to make the `west build ...` command visible

Users want to know what exactly failed.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2023-12-15 19:00:47 +00:00 committed by Liam Girdwood
parent b7df375a33
commit 03fe9d3149
1 changed files with 4 additions and 0 deletions

View File

@ -80,8 +80,12 @@ main()
-DCONFIG_ASAN=y -DCONFIG_ASAN=y
) )
(set -x
# When passing conflicting -DVAR='VAL UE1' -DVAR='VAL UE2' to CMake,
# the last 'VAL UE2' wins. Previous ones are silently ignored.
west build -d build-fuzz -b native_posix "$SOF_TOP"/app/ -- \ west build -d build-fuzz -b native_posix "$SOF_TOP"/app/ -- \
"${fuzz_configs[@]}" "$@" "${fuzz_configs[@]}" "$@"
)
if $BUILD_ONLY; then if $BUILD_ONLY; then
exit 0 exit 0