• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "kernel_tests_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-OpenSSL
8    default_applicable_licenses: ["kernel_tests_license"],
9}
10
11python_defaults {
12    name: "kernel_net_tests_defaults",
13    srcs: [
14        "*.py",
15    ],
16    libs: [
17        "scapy",
18    ],
19    defaults: ["kernel_tests_defaults",],
20}
21
22// Currently, we keep it for vts10. This could be useful to produce a binary
23// that can be run manually on the device.
24// TODO(b/146651404): Remove all vts10 only test modules after vts11
25// is released.
26python_test {
27    name: "kernel_net_tests",
28    main: "all_tests.py",
29    defaults: ["kernel_net_tests_defaults",],
30}
31
32python_test {
33    name: "vts_kernel_net_tests",
34    stem: "kernel_net_tests_bin",
35    main: "all_tests.py",
36    defaults: ["kernel_net_tests_defaults",],
37    test_suites: ["vts",],
38    test_config: "vts_kernel_net_tests.xml",
39}
40