tests: Check DPP in build for couple of missing cases

These test cases need to be skipped in DPP is not included in the build.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2022-04-18 11:11:29 +03:00
parent c31fc7a64c
commit cc821f1c32
2 changed files with 3 additions and 0 deletions

View file

@ -2767,6 +2767,7 @@ def test_dpp_hostapd_configurator(dev, apdev):
def test_dpp_hostapd_configurator_enrollee_v1(dev, apdev):
"""DPP with hostapd as configurator/initiator with v1 enrollee"""
check_dpp_capab(dev[0])
dev[0].set("dpp_version_override", "1")
run_dpp_hostapd_configurator(dev, apdev)

View file

@ -112,6 +112,7 @@ def test_dpp_tcp_pkex(dev, apdev, params):
dev[1].request("DPP_CONTROLLER_STOP")
def run_dpp_tcp_pkex_auto_connect_2(dev, apdev, params, status, start_ap=True):
check_dpp_capab(dev[0], min_ver=3)
check_sae_capab(dev[0])
dev[0].set("sae_groups", "")
@ -173,6 +174,7 @@ def test_dpp_tcp_pkex_while_associated_conn_status(dev, apdev, params):
dev[0].set("dpp_config_processing", "0", allow_fail=True)
def run_dpp_tcp_pkex_while_associated(dev, apdev, params, status):
check_dpp_capab(dev[0], min_ver=3)
check_sae_capab(dev[0])
cap_lo = params['prefix'] + ".lo.pcap"