xref: /hostap/tests/hwsim/vm/process-codecov.sh
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3LOGDIR=$1
4POSTFIX=$2
5RESTORE=$3
6
7DIR=$PWD
8TMPDIR=/tmp/logs
9
10mv $LOGDIR/alt-wpa_supplicant $TMPDIR
11mv $LOGDIR/alt-hostapd $TMPDIR
12mv $LOGDIR/alt-hostapd-as $TMPDIR
13mv $LOGDIR/alt-hlr_auc_gw $TMPDIR
14
15cd $TMPDIR/alt-wpa_supplicant/wpa_supplicant
16lcov -c -d .. 2> lcov.log | sed s%SF:/tmp/logs/alt-[^/]*/%SF:/tmp/logs/alt-wpa_supplicant/% > $TMPDIR/lcov-wpa_supplicant.info-$POSTFIX &
17
18cd $TMPDIR/alt-hostapd/hostapd
19lcov -c -d .. 2> lcov.log | sed s%SF:/tmp/logs/alt-[^/]*/%SF:/tmp/logs/alt-wpa_supplicant/% > $TMPDIR/lcov-hostapd.info-$POSTFIX &
20
21cd $TMPDIR/alt-hostapd-as/hostapd
22lcov -c -d .. 2> lcov.log | sed s%SF:/tmp/logs/alt-[^/]*/%SF:/tmp/logs/alt-wpa_supplicant/% > $TMPDIR/lcov-hostapd-as.info-$POSTFIX &
23
24cd $TMPDIR/alt-hlr_auc_gw/hostapd
25lcov -c -d .. 2> lcov.log | sed s%SF:/tmp/logs/alt-[^/]*/%SF:/tmp/logs/alt-wpa_supplicant/% > $TMPDIR/lcov-hlr_auc_gw.info-$POSTFIX &
26wait
27
28cd $DIR
29if [ "$RESTORE" == "restore" ]; then
30    mv $TMPDIR/alt-* $LOGDIR
31else
32    rm -r $TMPDIR/alt-wpa_supplicant
33    rm -r $TMPDIR/alt-hostapd
34    rm -r $TMPDIR/alt-hostapd-as
35    rm -r $TMPDIR/alt-hlr_auc_gw
36fi
37

served by {OpenGrok

Last Index Update: Sat Jun 07 01:07:08 UTC 2025

Navigate Window
x
Scopes Window
x
Intelligence window
x
Next >> | << Prev


In current file
  • Highlight
  • Unhighlight
  • Unhighlight all
In project "undefined"
  • Search for definitions of
  • Search for references of
  • Do a full search with
  • Search for file names that contain
On Google
  • Google
Messages Window
x