diff options
| -rw-r--r-- | libs/hwui/Android.mk | 3 | ||||
| -rw-r--r-- | libs/hwui/AndroidTest.xml | 36 |
2 files changed, 39 insertions, 0 deletions
diff --git a/libs/hwui/Android.mk b/libs/hwui/Android.mk index fde0e4760d61..9111ea6b40f7 100644 --- a/libs/hwui/Android.mk +++ b/libs/hwui/Android.mk @@ -268,6 +268,7 @@ include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := hwui_unit_tests +LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_MODULE_TAGS := tests LOCAL_STATIC_LIBRARIES := libgmock libhwui_static_debug LOCAL_SHARED_LIBRARIES := libmemunreachable @@ -332,6 +333,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/local/tmp LOCAL_MODULE:= hwuimacro +LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_MODULE_TAGS := tests LOCAL_MULTILIB := both LOCAL_CFLAGS := $(hwui_cflags) @@ -355,6 +357,7 @@ include $(BUILD_NATIVE_BENCHMARK) include $(CLEAR_VARS) LOCAL_MODULE:= hwuimicro +LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_MODULE_TAGS := tests LOCAL_CFLAGS := \ $(hwui_cflags) \ diff --git a/libs/hwui/AndroidTest.xml b/libs/hwui/AndroidTest.xml new file mode 100644 index 000000000000..eab32c5a67ce --- /dev/null +++ b/libs/hwui/AndroidTest.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<configuration description="Config for hwuimicro"> + <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> + <option name="cleanup" value="true" /> + <option name="push" value="hwui_unit_tests->/data/nativetest/hwui_unit_tests" /> + <option name="push" value="hwuimicro->/data/benchmarktest/hwuimicro" /> + <option name="push" value="hwuimacro->/data/benchmarktest/hwuimacro" /> + </target_preparer> + <option name="test-suite-tag" value="apct" /> + <test class="com.android.tradefed.testtype.GTest" > + <option name="native-test-device-path" value="/data/nativetest" /> + <option name="module-name" value="hwui_unit_tests" /> + </test> + <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" > + <option name="native-benchmark-device-path" value="/data/benchmarktest" /> + <option name="benchmark-module-name" value="hwuimicro" /> + </test> + <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" > + <option name="native-benchmark-device-path" value="/data/benchmarktest" /> + <option name="benchmark-module-name" value="hwuimacro" /> + </test> +</configuration> |