Skip to content
Snippets Groups Projects
Commit 3d4965b2 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Jeffrey Vander Stoep
Browse files

Use SELINUX_IGNORE_NEVERALLOWS flag to disable all tests

The intent of this flag is to disable tests during early device
bringup so that vendor drops can occur without build breakages.
When SELINUX_IGNORE_NEVERALLOWS=true also disable labeling tests
sepolicy_tests, and treble_sepolicy_tests.

Bug: 73322735
Test: build, verify known tests failures do not cause build breakage.
Change-Id: I3e7165938d4e34c066bfa0a20e68b7e02dae4a24
parent 72527282
No related branches found
No related tags found
No related merge requests found
......@@ -233,11 +233,13 @@ LOCAL_REQUIRED_MODULES += \
endif
ifneq ($(with_asan),true)
ifneq ($(SELINUX_IGNORE_NEVERALLOWS),true)
LOCAL_REQUIRED_MODULES += \
sepolicy_tests \
treble_sepolicy_tests \
endif
endif
include $(BUILD_PHONY_PACKAGE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment