f59a10d405
This makes it easier to collect failure data from test servers for further analysis. Signed-hostap: Jouni Malinen <j@w1.fi>
12 lines
251 B
Bash
Executable file
12 lines
251 B
Bash
Executable file
#!/bin/sh
|
|
|
|
errors=0
|
|
umask 0002
|
|
./start.sh
|
|
DATE=`ls -1tr logs | tail -1 | cut -f1 -d-`
|
|
./run-tests.py -e logs/$DATE-failed || errors=1
|
|
./stop-wifi.sh
|
|
if [ $errors -gt 0 ]; then
|
|
tar czf /tmp/hwsim-tests-$DATE-FAILED.tar.gz logs/$DATE*
|
|
exit 1
|
|
fi
|