hostapd/tests/fuzzing/build-test.sh
Jouni Malinen d005d3647b tests: Build test for new fuzzer tools
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-06-02 13:00:39 +03:00

19 lines
200 B
Bash
Executable file

#!/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"