Skip to content

Commit

Permalink
rebuild-testbench.sh: explain BUILD_TYPE=native in usage()
Browse files Browse the repository at this point in the history
Explain what happens when running the script without any argument.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and kv2019i committed Oct 25, 2023
1 parent bcdf037 commit 59a5bc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/rebuild-testbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2020, Mohana Datta Yelugoti

# fail on any errors
# stop on most errors
set -e

# Defaults
Expand All @@ -15,6 +15,7 @@ print_usage()
cat <<EOFUSAGE
usage: $0 [-f] [-p <platform>]
-p Build testbench binary for xt-run for selected platform, e.g. -p tgl
When omitted, perform a BUILD_TYPE=native, compile-only check.
-f Build testbench with compiler provided by fuzzer
(default path: $HOME/sof/work/AFL/afl-gcc)
-j number of parallel make/ninja jobs. Defaults to /usr/bin/nproc.
Expand Down Expand Up @@ -139,7 +140,7 @@ main()
done

rebuild_testbench

printf '\n'
testbench_usage
}

Expand Down

0 comments on commit 59a5bc7

Please sign in to comment.