Create v2 configuration for emulator tests. (flutter/engine#42652)
Migrates emulator tests to engine v2. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
@@ -102,6 +102,16 @@ targets:
|
||||
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
|
||||
timeout: 60
|
||||
|
||||
- name: Linux linux_android_emulator_tests
|
||||
bringup: true
|
||||
enabled_branches:
|
||||
- main
|
||||
recipe: engine_v2/builder
|
||||
presubmit: false
|
||||
properties:
|
||||
config_name: linux_android_emulator
|
||||
timeout: 60
|
||||
|
||||
- name: Linux Android Emulator Tests
|
||||
recipe: engine/scenarios
|
||||
enabled_branches:
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"drone_dimensions": [
|
||||
"device_type=none",
|
||||
"os=Linux"
|
||||
],
|
||||
"gn": [
|
||||
"--android",
|
||||
"--android-cpu=x64",
|
||||
"--no-lto"
|
||||
],
|
||||
"name": "android_debug_x64",
|
||||
"ninja": {
|
||||
"config": "android_debug_x64",
|
||||
"targets": [
|
||||
"flutter/shell/platform/android:flutter_shell_native_unittests",
|
||||
"flutter/testing/scenario_app"
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
"language": "python3",
|
||||
"name": "Android Unit Tests",
|
||||
"contexts": [
|
||||
"android_virtual_device"
|
||||
],
|
||||
"parameters": [
|
||||
"--android-variant",
|
||||
"android_debug_x64",
|
||||
"--type",
|
||||
"android"
|
||||
],
|
||||
"script": "flutter/testing/run_tests.py"
|
||||
},
|
||||
{
|
||||
"language": "bash",
|
||||
"name": "Scenario App Integration Tests",
|
||||
"contexts": [
|
||||
"android_virtual_device"
|
||||
],
|
||||
"parameters": [
|
||||
"android_debug_x64"
|
||||
],
|
||||
"script": "flutter/testing/scenario_app/run_android_tests.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user