hostap/tests/build/run-build-tests.sh
Jouni Malinen 4fb6963b39 tests: Build tests for wpa_supplicant and hostapd
Allow multiple build configurations to be tested automatically.

Signed-off-by: Jouni Malinen <j@w1.fi>
2018-12-31 12:03:53 +02:00

20 lines
387 B
Bash
Executable file

#!/bin/bash
DIR=`mktemp -d`
pushd ../.. > /dev/null
git archive --format=tar --prefix=hostap-build/ HEAD > $DIR/hostap-build.tar
popd > /dev/null
echo "Build test directory: $DIR"
echo
for i in build-hostapd-*.config; do
./build-hostapd.sh $DIR $i
done
for i in build-wpa_supplicant-*.config; do
./build-wpa_supplicant.sh $DIR $i
done
echo
echo "Build test directory: $DIR"