From d005d3647b0794366a53895d7f12e0592da8c279 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 1 Jun 2019 16:37:53 +0300 Subject: [PATCH] tests: Build test for new fuzzer tools Signed-off-by: Jouni Malinen --- tests/fuzzing/build-test.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/fuzzing/build-test.sh diff --git a/tests/fuzzing/build-test.sh b/tests/fuzzing/build-test.sh new file mode 100755 index 000000000..26c94cca8 --- /dev/null +++ b/tests/fuzzing/build-test.sh @@ -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"