X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Ftests%2Fhwsim%2Fvm%2Fbuild-codecov.sh;fp=libeap%2Ftests%2Fhwsim%2Fvm%2Fbuild-codecov.sh;h=0000000000000000000000000000000000000000;hb=852a32fe63bc7d0271cca4df1bdb7634fd494b53;hp=e67ef2ea8e0ecb5af066e0112d352a39950e1e9c;hpb=88e34eecb5769da6526361b35df00fdbe823eac5;p=mech_eap.git diff --git a/libeap/tests/hwsim/vm/build-codecov.sh b/libeap/tests/hwsim/vm/build-codecov.sh deleted file mode 100755 index e67ef2e..0000000 --- a/libeap/tests/hwsim/vm/build-codecov.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash - -LOGDIR=$1 -DIR=$PWD -TMPDIR=/tmp/logs - -if [ -e $TMPDIR ]; then - echo "$TMPDIR exists - cannot prepare build trees" - exit 1 -fi -mkdir $TMPDIR -echo "Preparing separate build trees for hostapd/wpa_supplicant" -cd ../../.. -git archive --format=tar --prefix=hostap/ HEAD > $TMPDIR/hostap.tar -cd $DIR -cat ../../../wpa_supplicant/.config > $TMPDIR/wpa_supplicant.config -echo "CONFIG_CODE_COVERAGE=y" >> $TMPDIR/wpa_supplicant.config -cat ../../../hostapd/.config > $TMPDIR/hostapd.config -echo "CONFIG_CODE_COVERAGE=y" >> $TMPDIR/hostapd.config - -cd $TMPDIR -tar xf hostap.tar -mv hostap alt-wpa_supplicant -mv wpa_supplicant.config alt-wpa_supplicant/wpa_supplicant/.config -tar xf hostap.tar -mv hostap alt-hostapd -cp hostapd.config alt-hostapd/hostapd/.config -tar xf hostap.tar -mv hostap alt-hostapd-as -cp hostapd.config alt-hostapd-as/hostapd/.config -tar xf hostap.tar -mv hostap alt-hlr_auc_gw -mv hostapd.config alt-hlr_auc_gw/hostapd/.config -rm hostap.tar - -cd $TMPDIR/alt-wpa_supplicant/wpa_supplicant -echo "Building wpa_supplicant" -make -j8 > /dev/null - -cd $TMPDIR/alt-hostapd/hostapd -echo "Building hostapd" -make -j8 hostapd hostapd_cli > /dev/null - -cd $TMPDIR/alt-hostapd-as/hostapd -echo "Building hostapd (AS)" -make -j8 hostapd hostapd_cli > /dev/null - -cd $TMPDIR/alt-hlr_auc_gw/hostapd -echo "Building hlr_auc_gw" -make -j8 hlr_auc_gw > /dev/null - -cd $DIR - -mv $TMPDIR/alt-wpa_supplicant $LOGDIR -mv $TMPDIR/alt-hostapd $LOGDIR -mv $TMPDIR/alt-hostapd-as $LOGDIR -mv $TMPDIR/alt-hlr_auc_gw $LOGDIR