| # Copyright 2023 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//third_party/antlion/antlion_host_test.gni") |
| import("//third_party/antlion/environments.gni") |
| |
| assert(is_host, "antlion tests only supported for host testing") |
| |
| antlion_host_test("regulatory_compliance_test") { |
| main_source = "RegulatoryComplianceTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("vape_interop_test") { |
| main_source = "VapeInteropTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("wlan_phy_compliance_11ac_test") { |
| main_source = "WlanPhyCompliance11ACTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("wlan_phy_compliance_11n_test") { |
| main_source = "WlanPhyCompliance11NTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("wlan_phy_compliance_abg_test") { |
| main_source = "WlanPhyComplianceABGTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("wlan_security_compliance_abg_test") { |
| main_source = "WlanSecurityComplianceABGTest.py" |
| environments = display_ap_envs |
| } |
| |
| antlion_host_test("wlan_security_compliance_abg_test_quick") { |
| main_source = "WlanSecurityComplianceABGTest.py" |
| environments = display_ap_envs |
| test_cases = [ |
| "test_associate_11bg_sec_open_wep_26_hex_ptk_none", |
| "test_associate_11bg_sec_wpa_psk_ptk_tkip", |
| "test_associate_11bg_sec_wpa_psk_ptk_ccmp", |
| "test_associate_11bg_sec_wpa2_psk_ptk_tkip", |
| "test_associate_11bg_sec_wpa2_psk_ptk_ccmp", |
| "test_associate_11bg_pmf_sec_wpa2_psk_ptk_ccmp", |
| "test_associate_11bg_sec_wpa_wpa2_psk_ptk_tkip", |
| "test_associate_11bg_sec_wpa_wpa2_psk_ptk_ccmp", |
| "test_associate_11bg_sec_wpa3_sae_ptk_ccmp", |
| "test_associate_11bg_sec_wpa2_wpa3_psk_sae_ptk_ccmp", |
| ] |
| } |
| |
| group("e2e_tests") { |
| testonly = true |
| public_deps = [ |
| ":vape_interop_test($host_toolchain)", |
| ":wlan_phy_compliance_11ac_test($host_toolchain)", |
| ":wlan_phy_compliance_11n_test($host_toolchain)", |
| ":wlan_phy_compliance_abg_test($host_toolchain)", |
| ":wlan_security_compliance_abg_test($host_toolchain)", |
| ] |
| } |
| |
| group("e2e_tests_quick") { |
| testonly = true |
| public_deps = [ |
| ":wlan_security_compliance_abg_test_quick($host_toolchain)", |
| ] |
| } |
| |
| group("e2e_tests_manual") { |
| testonly = true |
| public_deps = [ |
| # Running RegulatoryComplianceTest is usually only necessary when verifying |
| # new WLAN firmware patches. Take it out of automation; it takes too long |
| # otherwise. |
| ":regulatory_compliance_test($host_toolchain)", |
| ] |
| } |