Fixed
Status Update
Comments
cc...@google.com <cc...@google.com>
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit a53e872673bb75481bf5f53ead10eb53220badaa
Author: Marcello Albano <maralb@google.com>
Date: Fri Jul 01 16:18:37 2022
Check if device fingerprint contains 'emulator'
Bug: 231535257
Test: ./gradlew :benchmark:integration-tests:macrobenchmark-target:installDebug && ./gradlew :benchmark:integration-tests:macrobenchmark:cC # fails correctly!
Test: ./gradlew bench:b-m:cC
The word emulator shows up in the device fingerprint so this additional so this should fix emulators not being recognized from current checks.
Change-Id: I336409cad44d78445d46658c9a2767e24b952407
M benchmark/benchmark-common/src/main/java/androidx/benchmark/DeviceInfo.kt
https://android-review.googlesource.com/2147057
Branch: androidx-main
commit a53e872673bb75481bf5f53ead10eb53220badaa
Author: Marcello Albano <maralb@google.com>
Date: Fri Jul 01 16:18:37 2022
Check if device fingerprint contains 'emulator'
Bug: 231535257
Test: ./gradlew :benchmark:integration-tests:macrobenchmark-target:installDebug && ./gradlew :benchmark:integration-tests:macrobenchmark:cC # fails correctly!
Test: ./gradlew bench:b-m:cC
The word emulator shows up in the device fingerprint so this additional so this should fix emulators not being recognized from current checks.
Change-Id: I336409cad44d78445d46658c9a2767e24b952407
M benchmark/benchmark-common/src/main/java/androidx/benchmark/DeviceInfo.kt
Description
Version used: ToT
Devices/Android versions reproduced on: Emulator Pixel 5A API 32 userdebug (without Google Play)
The
isEmulator
property doesn't recognize this as emulator and Macrobenchmark runs without suppressing.