From cf93c22d23566f1b56553cb4107ed3e00df8a0f4 Mon Sep 17 00:00:00 2001 From: Ng Zhi An Date: Mon, 17 Sep 2018 09:38:44 -0700 Subject: Enable checkstyle repo upload hook for tests Bug: 115719623 Test: import unused classes and try to repo upload, checkstyle will block it Change-Id: I063b9946df6c3d852506449221a7f04d6f9c656f --- PREUPLOAD.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index de83f3e01074..ff40f7543c9d 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -8,6 +8,11 @@ checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPL services/print/ services/usb/ telephony/ + tests/ActivityViewTest/ + tests/LotsOfApps/ + tests/NativeProcessesMemoryTest/ + tests/OdmApps/ + tests/SystemMemoryTest/ wifi/ api_lint_hook = ${REPO_ROOT}/frameworks/base/tools/apilint/apilint_sha.sh ${PREUPLOAD_COMMIT} -- cgit v1.2.3-59-g8ed1b