e0cccf26a4
This allows code coverage report to be generated must faster with the help of parallel VMs executing test cases. Signed-off-by: Jouni Malinen <j@w1.fi>
23 lines
517 B
Bash
Executable file
23 lines
517 B
Bash
Executable file
#!/bin/bash
|
|
|
|
LOGDIR=$1
|
|
TMPDIR=/tmp/logs
|
|
|
|
mv $LOGDIR/alt-* $TMPDIR
|
|
|
|
cd $TMPDIR
|
|
args=""
|
|
for i in lcov-*.info-*; do
|
|
args="$args -a $i"
|
|
done
|
|
|
|
lcov $args -o $LOGDIR/combined.info > $LOGDIR/combined-lcov.log 2>&1
|
|
cd $LOGDIR
|
|
genhtml -t "wpa_supplicant/hostapd combined for hwsim test run $(date +%s)" combined.info --output-directory . > lcov.log 2>&1
|
|
|
|
rm -r /tmp/logs/alt-wpa_supplicant
|
|
rm -r /tmp/logs/alt-hostapd
|
|
rm -r /tmp/logs/alt-hostapd-as
|
|
rm -r /tmp/logs/alt-hlr_auc_gw
|
|
rm /tmp/logs/lcov-*info-*
|
|
rmdir /tmp/logs
|