commit | f89a38ac32c18dbdaa2256ab2653eb3b39d51aff | [log] [tgz] |
---|---|---|
author | Nolan Scobie <nscobie@google.com> | Wed Nov 09 15:23:07 2022 -0500 |
committer | Nolan Scobie <nscobie@google.com> | Thu Nov 10 17:38:02 2022 -0500 |
tree | c00e87e3813a4af50c11feddeadc2966333fbee2 | |
parent | 998b6d7ed50aed06cab79811ea8fd76dd7442536 [diff] [blame] |
Change hwui_unit_tests (and benchmarks) to push to non-root writable dir ...and switch to more appropriate "general-tests" suite type. This allows the test suite to be run in certain lab/infra scenarios, like on ABTD. Docs device-tests to general-tests: https://source.android.com/docs/core/tests/development/test-mapping#packaging_build_script_rules Tests Without this change: https://android-build.googleplex.com/builds/abtd/run/L10000000957295240 (tooling fails to push content) With this change: https://android-build.googleplex.com/builds/abtd/run/L52900000957292742 (gets past tooling failure, and fails on an actually failing unit test) Test: compare ABTD runs with and without this CL Bug: 257123741 Change-Id: I33696a0f1c9279622138e4dc4c49d73c99f359eb
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 29f3773..7b7677f 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp
@@ -636,7 +636,7 @@ cc_defaults { name: "hwui_test_defaults", defaults: ["hwui_defaults"], - test_suites: ["device-tests"], + test_suites: ["general-tests"], header_libs: ["libandroid_headers_private"], target: { android: {