Enable KUnit testing on raviole userdebug & eng build target.
Add kunit.enable=1 to boot command line Bug: 337797668 Flag: TEST_ONLY Change-Id: I3334316c6b41e0cd1a4dd5fded32f9c3c302ee9a
This commit is contained in:
parent
e097460376
commit
c5b3375835
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y
|
|||
BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
|
||||
|
||||
# Enable KUnit for userdebug and eng builds
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
BOARD_KERNEL_CMDLINE += kunit.enable=1
|
||||
endif
|
||||
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
TARGET_NO_RADIOIMAGE := true
|
||||
BOARD_PREBUILT_BOOTIMAGE := $(wildcard $(TARGET_KERNEL_DIR)/boot.img)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue