| # 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("wlan_reboot_ap_test") { |
| main_source = "WlanRebootApTest.py" |
| sources = [ |
| "base_test.py", |
| ] |
| environments = display_ap_iperf_envs |
| } |
| |
| antlion_host_test("wlan_reboot_ap_test_quick") { |
| main_source = "WlanRebootApTest.py" |
| sources = [ |
| "base_test.py", |
| ] |
| environments = display_ap_iperf_envs |
| test_cases = [ |
| "test_soft_reboot_dut_5g_open_ipv4", |
| ] |
| } |
| |
| antlion_host_test("wlan_reboot_dut_test") { |
| main_source = "WlanRebootDutTest.py" |
| sources = [ |
| "base_test.py", |
| ] |
| environments = display_ap_iperf_envs |
| } |
| |
| antlion_host_test("wlan_reboot_dut_test_quick") { |
| main_source = "WlanRebootDutTest.py" |
| sources = [ |
| "base_test.py", |
| ] |
| environments = display_ap_iperf_envs |
| test_cases = [ |
| "test_soft_reboot_ap_5g_open_ipv4", |
| ] |
| } |
| |
| group("e2e_tests") { |
| testonly = true |
| public_deps = [ |
| ":wlan_reboot_ap_test($host_toolchain)", |
| ":wlan_reboot_dut_test($host_toolchain)", |
| ] |
| } |
| |
| group("e2e_tests_quick") { |
| testonly = true |
| public_deps = [ |
| ":wlan_reboot_ap_test_quick($host_toolchain)", |
| ":wlan_reboot_dut_test_quick($host_toolchain)", |
| ] |
| } |