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:
parent
96d6dfa8e4
commit
9ebbdd0aa3
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue