| # Copyright 2019 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("//build/testing/environments.gni") |
| import("//src/sys/build/components.gni") |
| |
| fuchsia_component("configure-legacy-privacy-off") { |
| testonly = true |
| manifest = "meta/configure_legacy_privacy_off.cmx" |
| deps = [ |
| "configure_legacy_privacy_off", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("configure-legacy-privacy-on") { |
| testonly = true |
| manifest = "meta/configure_legacy_privacy_on.cmx" |
| deps = [ |
| "configure_legacy_privacy_on", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-to-open-network") { |
| testonly = true |
| manifest = "meta/connect_to_open_network.cmx" |
| deps = [ |
| "connect_to_open_network", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-to-wpa1-network") { |
| testonly = true |
| manifest = "meta/connect_to_wpa1_network.cmx" |
| deps = [ |
| "connect_to_wpa1_network", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-to-wpa2-network") { |
| testonly = true |
| manifest = "meta/connect_to_wpa2_network.cmx" |
| deps = [ |
| "connect_to_wpa2_network", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-with-bad-password") { |
| testonly = true |
| manifest = "meta/connect_with_bad_password.cmx" |
| deps = [ |
| "connect_with_bad_password", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-with-failed-association") { |
| testonly = true |
| manifest = "meta/connect_with_failed_association.cmx" |
| deps = [ |
| "connect_with_failed_association", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("connect-with-wrong-credential-type") { |
| testonly = true |
| manifest = "meta/connect_with_wrong_credential_type.cmx" |
| deps = [ |
| "connect_with_wrong_credential_type", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("ethernet-tx-rx") { |
| testonly = true |
| manifest = "meta/ethernet_tx_rx.cmx" |
| deps = [ |
| "ethernet_tx_rx", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("multi-ifaces") { |
| testonly = true |
| manifest = "meta/multi_ifaces.cmx" |
| deps = [ |
| "multi_ifaces", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("multiple-clients-ap") { |
| testonly = true |
| manifest = "meta/multiple_clients_ap.cmx" |
| deps = [ |
| "multiple_clients_ap", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("open-ap-connect") { |
| testonly = true |
| manifest = "meta/open_ap_connect.cmx" |
| deps = [ |
| "open_ap_connect", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("set-country") { |
| testonly = true |
| manifest = "meta/set_country.cmx" |
| deps = [ |
| "set_country", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("sim-client-vs-sim-ap") { |
| testonly = true |
| manifest = "meta/sim_client_vs_sim_ap.cmx" |
| deps = [ |
| "sim_client_vs_sim_ap", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("simulate-scan") { |
| testonly = true |
| manifest = "meta/simulate_scan.cmx" |
| deps = [ |
| "simulate_scan", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("verify-ethernet") { |
| testonly = true |
| manifest = "meta/verify_ethernet.cmx" |
| deps = [ |
| "verify_ethernet", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("verify-wlan-inspect") { |
| testonly = true |
| manifest = "meta/verify_wlan_inspect.cmx" |
| deps = [ |
| "verify_wlan_inspect", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("run-without-regulatory-manager") { |
| testonly = true |
| manifest = "meta/run_without_regulatory_manager.cmx" |
| deps = [ |
| "run_without_regulatory_manager", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_test_package("wlan-hw-sim-test") { |
| test_components = [ |
| ":configure-legacy-privacy-off", |
| ":configure-legacy-privacy-on", |
| ":connect-to-open-network", |
| ":connect-to-wpa1-network", |
| ":connect-to-wpa2-network", |
| ":connect-with-bad-password", |
| ":connect-with-failed-association", |
| ":connect-with-wrong-credential-type", |
| ":ethernet-tx-rx", |
| ":multi-ifaces", |
| ":multiple-clients-ap", |
| ":open-ap-connect", |
| ":run-without-regulatory-manager", |
| ":set-country", |
| ":sim-client-vs-sim-ap", |
| ":simulate-scan", |
| ":verify-ethernet", |
| ":verify-wlan-inspect", |
| ] |
| } |
| |
| fuchsia_component("rate-selection") { |
| testonly = true |
| manifest = "meta/rate_selection.cmx" |
| deps = [ |
| "rate_selection", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_test_package("rate-selection-package") { |
| package_name = "rate-selection" |
| test_components = [ ":rate-selection" ] |
| |
| test_specs = { |
| environments = [ nuc_env ] |
| } |
| } |
| |
| # Remove these legacy tests along with the legacy API. |
| fuchsia_component("legacy-configure-legacy-privacy-off") { |
| testonly = true |
| manifest = "meta/legacy_configure_legacy_privacy_off.cmx" |
| deps = [ |
| "legacy_configure_legacy_privacy_off", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-configure-legacy-privacy-on") { |
| testonly = true |
| manifest = "meta/legacy_configure_legacy_privacy_on.cmx" |
| deps = [ |
| "legacy_configure_legacy_privacy_on", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-simulate-scan") { |
| testonly = true |
| manifest = "meta/legacy_simulate_scan.cmx" |
| deps = [ |
| "legacy_simulate_scan", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-connect-to-open-network") { |
| testonly = true |
| manifest = "meta/legacy_connect_to_open_network.cmx" |
| deps = [ |
| "legacy_connect_to_open_network", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-connect-to-wpa2-network") { |
| testonly = true |
| manifest = "meta/legacy_connect_to_wpa2_network.cmx" |
| deps = [ |
| "legacy_connect_to_wpa2_network", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| fuchsia_component("legacy-ethernet-tx-rx") { |
| testonly = true |
| manifest = "meta/legacy_ethernet_tx_rx.cmx" |
| deps = [ |
| "legacy_ethernet_tx_rx", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-multi-ifaces") { |
| testonly = true |
| manifest = "meta/legacy_multi_ifaces.cmx" |
| deps = [ |
| "legacy_multi_ifaces", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_component("legacy-sim-client-vs-sim-ap") { |
| testonly = true |
| manifest = "meta/legacy_sim_client_vs_sim_ap.cmx" |
| deps = [ |
| "legacy_sim_client_vs_sim_ap", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_test_package("legacy-wlan-hw-sim-test") { |
| test_components = [ |
| ":legacy-configure-legacy-privacy-off", |
| ":legacy-configure-legacy-privacy-on", |
| ":legacy-simulate-scan", |
| ":legacy-connect-to-open-network", |
| ":legacy-connect-to-wpa2-network", |
| ":legacy-ethernet-tx-rx", |
| ":legacy-multi-ifaces", |
| ":legacy-sim-client-vs-sim-ap", |
| ] |
| } |
| |
| fuchsia_component("legacy-rate-selection") { |
| testonly = true |
| manifest = "meta/legacy_rate_selection.cmx" |
| deps = [ |
| "legacy_rate_selection", |
| "//src/connectivity/wlan/testing/wlan-devmgr", |
| ] |
| } |
| |
| fuchsia_test_package("legacy-rate-selection-package") { |
| package_name = "legacy-rate-selection" |
| test_components = [ ":legacy-rate-selection" ] |
| |
| test_specs = { |
| environments = [ nuc_env ] |
| } |
| } |