8 while [ "$1" != "" ]; do
10 -c | --codecov ) shift
11 echo "$0: use code coverage specified"
18 cd ../../wpa_supplicant
19 if [ ! -e .config ]; then
20 cp ../tests/hwsim/example-wpa_supplicant.config .config
22 echo "wpa_supplicant config file exists"
25 if [ $use_lcov -eq 1 ]; then
26 if ! grep -q CONFIG_CODE_COVERAGE .config; then
27 echo CONFIG_CODE_COVERAGE=y >> .config
29 echo "CONFIG_CODE_COVERAGE already exists in wpa_supplicant/.config. Ignore"
37 if [ ! -e .config ]; then
38 cp ../tests/hwsim/example-hostapd.config .config
40 echo "hostapd config file exists"
43 if [ $use_lcov -eq 1 ]; then
44 if ! grep -q CONFIG_CODE_COVERAGE .config; then
45 echo CONFIG_CODE_COVERAGE=y >> .config
47 echo "CONFIG_CODE_COVERAGE already exists in hostapd/.config. Ignore"
52 make -j8 hostapd hlr_auc_gw
56 cd ../mac80211_hwsim/tools
59 cd ../../tests/hwsim/tnc