You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
200 B
Bash
20 lines
200 B
Bash
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
error()
|
||
|
{
|
||
|
echo "Build test failed"
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
for i in *; do
|
||
|
if [ -d $i ]; then
|
||
|
cd $i
|
||
|
make clean
|
||
|
make -j8 || error
|
||
|
make clean
|
||
|
cd ..
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
echo "Build test succeeded"
|