tests: Report authentication server memory leaks more visible

It was too easy to miss memory leaks in the hostapd-as-AS log.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2019-03-08 16:52:52 +02:00 committed by Jouni Malinen
parent 96d6dfa8e4
commit 9ebbdd0aa3

View file

@ -134,6 +134,11 @@ if [ ! -z "$VALGRIND" ] ; then
fi
fi
if tail -100 $LOGDIR/auth_serv | grep -q MEMLEAK; then
echo "Mark as failed due to authentication server memory leak"
errors=1
fi
if [ ! -z "$CODECOV" ] ; then
lcov -q --capture --directory ../../wpa_supplicant --output-file $LOGDIR/wpas_lcov.info
genhtml -q $LOGDIR/wpas_lcov.info --output-directory $LOGDIR/wpas_lcov