2019-06-01 15:37:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
error()
|
|
|
|
{
|
|
|
|
echo "Build test failed"
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:21:45 +01:00
|
|
|
JOBS=`nproc`
|
|
|
|
if [ -z "$ABC" ]; then
|
|
|
|
JOBS=8
|
|
|
|
fi
|
|
|
|
|
2019-06-01 15:37:53 +02:00
|
|
|
for i in *; do
|
|
|
|
if [ -d $i ]; then
|
|
|
|
cd $i
|
|
|
|
make clean
|
2023-01-30 10:21:45 +01:00
|
|
|
make QUIET=1 -j$JOBS || error
|
2019-06-01 15:37:53 +02:00
|
|
|
make clean
|
|
|
|
cd ..
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "Build test succeeded"
|