Skip to content

Commit

Permalink
Run tests that use PixelCopy on non-ATD emulator images
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Jan 3, 2025
1 parent c2410c3 commit 54458dc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ class AndroidTestConventionPlugin : Plugin<Project> {
}

emulatorwtf {
val usesPixelCopy = project.name == "zoomable-peek-overlay"

version.set(libs.findVersion("emulatorWtfCli").get().toString())
devices.set(
listOf(
mapOf(
"model" to "Pixel7Atd",
"model" to if (usesPixelCopy) "Pixel7" else "Pixel7Atd",
"version" to 34,
"gpu" to "software", // Disable GPU acceleration to prevent screenshot differences.
)
Expand Down

0 comments on commit 54458dc

Please sign in to comment.