blob: 123fd1cbae240631721b8a6e9a449e1ed904ac52 [file] [log] [blame]
# 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("channel_sweep_test") {
main_source = "ChannelSweepTest.py"
environments = display_ap_iperf_envs
}
antlion_host_test("channel_sweep_test_quick") {
main_source = "ChannelSweepTest.py"
environments = display_ap_iperf_envs
test_cases = [
"test_US_wpa2_channel_8_20mhz",
"test_US_wpa2_channel_40_80mhz", # non-DFS 5GHz channel
"test_US_wpa2_channel_100_80mhz", # DFS 5GHz channel
"test_US_wpa2_channel_165_20mhz",
]
}
antlion_host_test("wlan_rvr_test_2g_open") {
main_source = "WlanRvrTest.py"
test_params = "rvr_settings.yaml"
environments = display_ap_iperf_attenuator_envs
test_cases = [ "test_rvr_11n_2g_20mhz_open_.*"]
}
antlion_host_test("wlan_rvr_test_2g_wpa2") {
main_source = "WlanRvrTest.py"
test_params = "rvr_settings.yaml"
environments = display_ap_iperf_attenuator_envs
test_cases = [ "test_rvr_11n_2g_20mhz_wpa2_.*"]
}
antlion_host_test("wlan_rvr_test_5g_open") {
main_source = "WlanRvrTest.py"
test_params = "rvr_settings.yaml"
environments = display_ap_iperf_attenuator_envs
test_cases = [ "test_rvr_11ac_5g_80mhz_open_.*" ]
}
antlion_host_test("wlan_rvr_test_5g_wpa2") {
main_source = "WlanRvrTest.py"
test_params = "rvr_settings.yaml"
environments = display_ap_iperf_attenuator_envs
test_cases = [ "test_rvr_11ac_5g_80mhz_wpa2_.*"]
}
antlion_host_test("wlan_wmm_test") {
main_source = "WmmTest.py"
# Requires a second station and custom configuration. There are no available
# testbeds to support this toplogy. This will remain an at-desk test until an
# infra-hosted testbed matching this topology is supported.
environments = []
}
group("e2e_tests") {
testonly = true
public_deps = [
":wlan_rvr_test_2g_open($host_toolchain)",
":wlan_rvr_test_2g_wpa2($host_toolchain)",
":wlan_rvr_test_5g_open($host_toolchain)",
":wlan_rvr_test_5g_wpa2($host_toolchain)",
]
}
group("e2e_tests_quick") {
testonly = true
public_deps = [
":channel_sweep_test_quick($host_toolchain)",
]
}
group("e2e_tests_manual") {
testonly = true
public_deps = [
# Running ChannelSweepTest is usually only necessary when verifying new WLAN
# firmware patches. Take it out of automation; it takes too long otherwise.
":channel_sweep_test($host_toolchain)",
":wlan_wmm_test($host_toolchain)",
]
}