d44a7e38d1
This was already done in tests/hwsim/build.sh, but the fuzzing build-test.sh can do same instead of using the hardcoded value 8. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
24 lines
263 B
Bash
Executable file
24 lines
263 B
Bash
Executable file
#!/bin/sh
|
|
|
|
error()
|
|
{
|
|
echo "Build test failed"
|
|
exit 1
|
|
}
|
|
|
|
JOBS=`nproc`
|
|
if [ -z "$ABC" ]; then
|
|
JOBS=8
|
|
fi
|
|
|
|
for i in *; do
|
|
if [ -d $i ]; then
|
|
cd $i
|
|
make clean
|
|
make QUIET=1 -j$JOBS || error
|
|
make clean
|
|
cd ..
|
|
fi
|
|
done
|
|
|
|
echo "Build test succeeded"
|