You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "kernel_tests_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-OpenSSL
default_applicable_licenses: ["kernel_tests_license"],
}
python_defaults {
name: "kernel_net_tests_defaults",
srcs: [
"*.py",
],
libs: [
"scapy",
],
defaults: ["kernel_tests_defaults",],
}
// Currently, we keep it for vts10. This could be useful to produce a binary
// that can be run manually on the device.
// TODO(b/146651404): Remove all vts10 only test modules after vts11
// is released.
python_test {
name: "kernel_net_tests",
main: "all_tests.py",
defaults: ["kernel_net_tests_defaults",],
}
python_test {
name: "vts_kernel_net_tests",
stem: "kernel_net_tests_bin",
main: "all_tests.py",
defaults: ["kernel_net_tests_defaults",],
test_suites: ["vts",],
test_config: "vts_kernel_net_tests.xml",
}