Skip to content

Commit f85483c

Browse files
committed
scripts: fuzz: fix SOF config pass
This script unfortunately never consumed the right config since the overlay was being passed to zephyr, not SOF. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
1 parent a63f6b6 commit f85483c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/fuzz.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@ main()
8080
-DCONFIG_ASAN=y
8181
)
8282

83+
configs="${fuzz_configs[@]}"
84+
8385
if [ ! -z $OVERLAY ]; then
84-
overlay_config=$(xargs -a "$SOF_TOP/app/$OVERLAY" printf -- "-D%s ")
86+
configs+="-DEXTRA_CONF_FILE=$OVERLAY"
8587
fi
8688

8789
west build -d build-fuzz -b native_posix "$SOF_TOP"/app/ -- \
88-
"${fuzz_configs[@]}" "$overlay_config" "$@"
90+
$configs "$@"
8991

9092
if [ $BUILD_ONLY -eq 1 ]; then
9193
exit

0 commit comments

Comments
 (0)