Commit Graph

2 Commits

Author SHA1 Message Date
Betty Zhou b9977e0079 ANDROID: Build tests.zip in kernel_aarch64 & kernel_x86_64 target.
Disable kfence kunit test due to build error.

Bug: 338255805
Signed-off-by: Betty Zhou <bettyzhou@google.com>

Change-Id: I676da370223b1cee09ae54ef22a975069db5c957
2024-05-01 22:24:29 +00:00
Yifan Hong 8a3c247822 ANDROID: Add kunit targets.
The kunit targets build in-tree kunit modules with a pre-set
defconfig fragment.

This is the defconfig fragment to be applied to enable kunit tests
as modules. Because we apply defconfig fragments after running
make defconfig, the individual tests must be enabled instead of
a global CONFIG_KUNIT_ALL_TESTS flag.

Test: manually build with
  bazel run //common:kunit_aarch64_dist
  bazel run //common:kunit_x86_64_dist
  bazel run //common:kunit_riscv64_dist
Bug: 296116800
Change-Id: If3b94f495aa64b657508781b12e3e0716c725f3f
Signed-off-by: Yifan Hong <elsk@google.com>
2023-09-11 17:12:10 +00:00