From 03fe9d314933582ad81b9d2b9e6c2876fb2d99f2 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 15 Dec 2023 19:00:47 +0000 Subject: [PATCH] fuzz.sh: use set -x to make the `west build ...` command visible Users want to know what exactly failed. Signed-off-by: Marc Herbert --- scripts/fuzz.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/fuzz.sh b/scripts/fuzz.sh index 47bd565d4..4580f64e5 100755 --- a/scripts/fuzz.sh +++ b/scripts/fuzz.sh @@ -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