Some basic tests can be performed with bazel test
command. For details of Bazel testing, please visit
https://bazel.build/rules/testing
For the GKI kernel_build()
kernel_aarch64
, the following targets are created.
$ bazel test kernel_aarch64_test
This command checks the following on the GKI binary:
$ bazel test kernel_aarch64_module_test
This command checks the following on the in-tree GKI modules:
For your kernel_build()
named tuna
, the following targets are created.
$ bazel test tuna_test
This command checks the following on the kernel binary, if it exists:
$ bazel test tuna_module_test
This command checks the following on the in-tree modules:
For a kernel_module()
named nfc
, the following targets are created.
$ bazel test nfc_test
This command checks the following on the external module: