tests: Build test for new fuzzer tools
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
150b9dc547
commit
d005d3647b
1 changed files with 19 additions and 0 deletions
19
tests/fuzzing/build-test.sh
Executable file
19
tests/fuzzing/build-test.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/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"
|
Loading…
Reference in a new issue