Skip to content

Commit

Permalink
fuzz.sh: use set -x to make the west build ... command visible
Browse files Browse the repository at this point in the history
Users want to know what exactly failed.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and lgirdwood committed Dec 19, 2023
1 parent b7df375 commit 03fe9d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ main()
-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/ -- \
"${fuzz_configs[@]}" "$@"
)

if $BUILD_ONLY; then
exit 0
Expand Down

0 comments on commit 03fe9d3

Please sign in to comment.