Commit 06deba25 authored by Yegor's avatar Yegor Committed by GitHub

move more tests to Linux hosts (#10413)

* move more tests to Linux hosts

* fix test
parent 7397bb90
...@@ -37,13 +37,6 @@ tasks: ...@@ -37,13 +37,6 @@ tasks:
# TODO: make these not require "has-android-device"; it is only there to # TODO: make these not require "has-android-device"; it is only there to
# ensure we have the Android SDK. # ensure we have the Android SDK.
flutter_gallery__build:
description: >
Collects various performance metrics from AOT builds of the Flutter
Gallery.
stage: devicelab
required_agent_capabilities: ["has-android-device"]
complex_layout__build: complex_layout__build:
description: > description: >
Collects various performance metrics from AOT builds of the Complex Collects various performance metrics from AOT builds of the Complex
...@@ -90,25 +83,12 @@ tasks: ...@@ -90,25 +83,12 @@ tasks:
stage: devicelab stage: devicelab
required_agent_capabilities: ["has-android-device"] required_agent_capabilities: ["has-android-device"]
flutter_gallery__start_up:
description: >
Measures the startup time of the Flutter Gallery app on Android.
stage: devicelab
required_agent_capabilities: ["has-android-device"]
complex_layout__start_up: complex_layout__start_up:
description: > description: >
Measures the startup time of the Complex Layout sample app on Android. Measures the startup time of the Complex Layout sample app on Android.
stage: devicelab stage: devicelab
required_agent_capabilities: ["has-android-device"] required_agent_capabilities: ["has-android-device"]
flutter_gallery__transition_perf:
description: >
Measures the performance of screen transitions in Flutter Gallery on
Android.
stage: devicelab
required_agent_capabilities: ["has-android-device"]
hot_mode_dev_cycle__benchmark: hot_mode_dev_cycle__benchmark:
description: > description: >
Measures the performance of Dart VM hot patching feature. Measures the performance of Dart VM hot patching feature.
...@@ -127,18 +107,6 @@ tasks: ...@@ -127,18 +107,6 @@ tasks:
stage: devicelab stage: devicelab
required_agent_capabilities: ["has-android-device"] required_agent_capabilities: ["has-android-device"]
flutter_gallery__memory_nav:
description: >
Measures memory usage after repeated navigation in Gallery.
stage: devicelab
required_agent_capabilities: ["has-android-device"]
flutter_gallery__back_button_memory:
description: >
Measures memory usage after Android app suspend and resume.
stage: devicelab
required_agent_capabilities: ["has-android-device"]
microbenchmarks: microbenchmarks:
description: > description: >
Runs benchmarks from dev/benchmarks/microbenchmarks. Runs benchmarks from dev/benchmarks/microbenchmarks.
...@@ -284,3 +252,35 @@ tasks: ...@@ -284,3 +252,35 @@ tasks:
stage: devicelab stage: devicelab
required_agent_capabilities: ["linux/android"] required_agent_capabilities: ["linux/android"]
flaky: true flaky: true
flutter_gallery__build:
description: >
Collects various performance metrics from AOT builds of the Flutter
Gallery.
stage: devicelab
required_agent_capabilities: ["linux/android"]
flutter_gallery__start_up:
description: >
Measures the startup time of the Flutter Gallery app on Android.
stage: devicelab
required_agent_capabilities: ["linux/android"]
flutter_gallery__transition_perf:
description: >
Measures the performance of screen transitions in Flutter Gallery on
Android.
stage: devicelab
required_agent_capabilities: ["linux/android"]
flutter_gallery__memory_nav:
description: >
Measures memory usage after repeated navigation in Gallery.
stage: devicelab
required_agent_capabilities: ["linux/android"]
flutter_gallery__back_button_memory:
description: >
Measures memory usage after Android app suspend and resume.
stage: devicelab
required_agent_capabilities: ["linux/android"]
...@@ -15,7 +15,7 @@ void main() { ...@@ -15,7 +15,7 @@ void main() {
final ManifestTask task = manifest.tasks.firstWhere((ManifestTask task) => task.name == 'flutter_gallery__start_up'); final ManifestTask task = manifest.tasks.firstWhere((ManifestTask task) => task.name == 'flutter_gallery__start_up');
expect(task.description, 'Measures the startup time of the Flutter Gallery app on Android.\n'); expect(task.description, 'Measures the startup time of the Flutter Gallery app on Android.\n');
expect(task.stage, 'devicelab'); expect(task.stage, 'devicelab');
expect(task.requiredAgentCapabilities, <String>['has-android-device']); expect(task.requiredAgentCapabilities, <String>['linux/android']);
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment