summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 19:48:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-30 19:48:23 +0200
commitdbde5cf1d5b76b6cee3f22e17b05881551ac8d8b (patch)
treebbbd3b7918991412222eb8a534153aa19ef593df /tests
parentMerge "Report uncrypt errors in details" am: af8b9363c6 (diff)
parentMerge "Turn on -Werror for recovery" (diff)
downloadandroid_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.gz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.bz2
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.lz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.xz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.zst
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.zip
Diffstat (limited to '')
-rw-r--r--tests/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 633b3c451..0754c7acf 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -19,6 +19,7 @@ LOCAL_PATH := $(call my-dir)
# Unit tests
include $(CLEAR_VARS)
LOCAL_CLANG := true
+LOCAL_CFLAGS := -Werror
LOCAL_MODULE := recovery_unit_test
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_STATIC_LIBRARIES := \
@@ -35,7 +36,7 @@ include $(BUILD_NATIVE_TEST)
# Component tests
include $(CLEAR_VARS)
LOCAL_CLANG := true
-LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CFLAGS += -Wno-unused-parameter -Werror
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE := recovery_component_test
LOCAL_C_INCLUDES := bootable/recovery