From 5d8b53b248ac56cb8280d2d2d653f12c43a26abd Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Mon, 7 Nov 2016 14:45:59 -0800 Subject: Move recovery_test.cpp out of unit test Move recovery-refresh/persist tests out because these tests need special steps to run. Also switch the constants to std::string. Test: recovery_manual_test passed on an A/B device Change-Id: I60b3ec6f094044945c3aafc1fae540896a6ddea6 --- tests/Android.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tests/Android.mk') diff --git a/tests/Android.mk b/tests/Android.mk index 86591f71d..e87a22964 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -34,7 +34,6 @@ LOCAL_STATIC_LIBRARIES := \ LOCAL_SRC_FILES := \ unit/asn1_decoder_test.cpp \ unit/locale_test.cpp \ - unit/recovery_test.cpp \ unit/sysutil_test.cpp \ unit/zip_test.cpp @@ -42,6 +41,18 @@ LOCAL_C_INCLUDES := bootable/recovery LOCAL_SHARED_LIBRARIES := liblog include $(BUILD_NATIVE_TEST) +# Manual tests +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_CFLAGS := -Werror +LOCAL_MODULE := recovery_manual_test +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_STATIC_LIBRARIES := libbase + +LOCAL_SRC_FILES := manual/recovery_test.cpp +LOCAL_SHARED_LIBRARIES := liblog +include $(BUILD_NATIVE_TEST) + # Component tests include $(CLEAR_VARS) LOCAL_CFLAGS := -Werror -- cgit v1.2.3