mirror of https://github.com/thesofproject/sof.git
scripts: add option to build fuzzer
Enable building the fuzzer with the -f option in the build-tools.sh script. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
2f9b43bac0
commit
ee194890b5
|
@ -13,7 +13,19 @@ mkdir build_tools
|
|||
cd build_tools
|
||||
cmake ..
|
||||
make -j$(nproc)
|
||||
if [[ "$1" == "-t" ]]; then
|
||||
make tests -j$(nproc)
|
||||
fi
|
||||
cd ../../
|
||||
for args in $@
|
||||
do
|
||||
#build test topologies
|
||||
if [[ "$args" == "-t" ]]; then
|
||||
make tests -j$(nproc)
|
||||
fi
|
||||
#build fuzzer
|
||||
if [[ "$args" == "-f" ]]; then
|
||||
rm -rf fuzzer
|
||||
mkdir fuzzer
|
||||
cd fuzzer
|
||||
cmake ../../fuzzer
|
||||
make -j$(nproc)
|
||||
cd ../
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue