forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] Update integration test AVD dependency to use Android 35 em…
…ulators (flutter#54186) Updates AVD dependency to use [latest available AVD dependency](https://chrome-infra-packages.appspot.com/p/chromium/tools/android/avd/linux-amd64/+/I7SIawD0okHpiEe8fKvI5NQrMEWDibsvOduVbbK5pDEC) (older at the time of publishing but the same I set in the framework -- flutter/flutter#152498) so that engine integration tests run on emulators running Android 35, the current latest version of Android. Does not change dependency of one test that is intended to run on Android 28. Also adds tasks to run the same emulator tests on those running Android 34 since Android 35 emulators seem to crash off and on. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
- Loading branch information
Showing
5 changed files
with
313 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
{ | ||
"builds": [ | ||
{ | ||
"drone_dimensions": [ | ||
"device_type=none", | ||
"os=Linux", | ||
"kvm=1", | ||
"cores=8" | ||
], | ||
"gclient_variables": { | ||
"use_rbe": true | ||
}, | ||
"gn": [ | ||
"--android", | ||
"--android-cpu=x64", | ||
"--no-lto", | ||
"--rbe", | ||
"--no-goma", | ||
"--target-dir", | ||
"ci/android_emulator_debug_x64" | ||
], | ||
"dependencies": [ | ||
{ | ||
"dependency": "goldctl", | ||
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" | ||
} | ||
], | ||
"name": "ci/android_emulator_debug_x64", | ||
"description": "Build for debug mode x64 Android emulator tests, and Impeller scenario app tests.", | ||
"ninja": { | ||
"config": "ci/android_emulator_debug_x64", | ||
"targets": [ | ||
"flutter/impeller/toolkit/android:unittests", | ||
"flutter/shell/platform/android:flutter_shell_native_unittests", | ||
"flutter/testing/scenario_app" | ||
] | ||
}, | ||
"tests": [ | ||
{ | ||
"language": "python3", | ||
"name": "Android Unit Tests", | ||
"test_dependencies": [ | ||
{ | ||
"dependency": "android_virtual_device", | ||
"version": "android_34_google_apis_x64.textpb" | ||
}, | ||
{ | ||
"dependency": "avd_cipd_version", | ||
"version": "build_id:8740267484269553649" | ||
} | ||
], | ||
"contexts": [ | ||
"android_virtual_device" | ||
], | ||
"script": "flutter/testing/run_tests.py", | ||
"parameters": [ | ||
"--android-variant", | ||
"ci/android_emulator_debug_x64", | ||
"--type", | ||
"android" | ||
] | ||
}, | ||
{ | ||
"language": "dart", | ||
"name": "skia_gold_client/e2e_test", | ||
"script": "flutter/testing/skia_gold_client/tool/e2e_test.dart", | ||
"max_attempts": 1 | ||
}, | ||
{ | ||
"language": "dart", | ||
"name": "Android Scenario App Integration Tests (Impeller/Vulkan)", | ||
"test_timeout_secs": 900, | ||
"max_attempts": 2, | ||
"test_dependencies": [ | ||
{ | ||
"dependency": "android_virtual_device", | ||
"version": "android_34_google_apis_x64.textpb" | ||
}, | ||
{ | ||
"dependency": "avd_cipd_version", | ||
"version": "build_id:8740267484269553649" | ||
} | ||
], | ||
"contexts": [ | ||
"android_virtual_device" | ||
], | ||
"script": "flutter/testing/scenario_app/bin/run_android_tests.dart", | ||
"parameters": [ | ||
"--out-dir=../out/ci/android_emulator_debug_x64", | ||
"--enable-impeller", | ||
"--impeller-backend=vulkan" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"drone_dimensions": [ | ||
"device_type=none", | ||
"os=Linux", | ||
"kvm=1", | ||
"cores=8" | ||
], | ||
"gclient_variables": { | ||
"use_rbe": true | ||
}, | ||
"gn": [ | ||
"--android", | ||
"--android-cpu=x86", | ||
"--no-lto", | ||
"--rbe", | ||
"--no-goma", | ||
"--target-dir", | ||
"ci/android_emulator_debug_x86" | ||
], | ||
"dependencies": [ | ||
{ | ||
"dependency": "goldctl", | ||
"version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd" | ||
} | ||
], | ||
"name": "ci/android_emulator_debug_x86", | ||
"description": "Build for debug mode x86 Android emulator tests.", | ||
"ninja": { | ||
"config": "ci/android_emulator_debug_x86", | ||
"targets": [ | ||
"flutter/impeller/toolkit/android:unittests", | ||
"flutter/shell/platform/android:flutter_shell_native_unittests", | ||
"flutter/testing/scenario_app" | ||
] | ||
}, | ||
"tests": [ | ||
{ | ||
"language": "python3", | ||
"name": "Android Unit Tests (API 28)", | ||
"test_dependencies": [ | ||
{ | ||
"dependency": "android_virtual_device", | ||
"version": "android_28_google_apis_x86.textpb" | ||
}, | ||
{ | ||
"dependency": "avd_cipd_version", | ||
"version": "build_id:8740267484269553649" | ||
} | ||
], | ||
"contexts": [ | ||
"android_virtual_device" | ||
], | ||
"script": "flutter/testing/run_tests.py", | ||
"parameters": [ | ||
"--android-variant", | ||
"ci/android_emulator_debug_x86", | ||
"--type", | ||
"android" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.