mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
move more tests to Linux hosts (#10413)
* move more tests to Linux hosts * fix test
This commit is contained in:
parent
7397bb9071
commit
06deba25ee
@ -37,13 +37,6 @@ tasks:
|
||||
# TODO: make these not require "has-android-device"; it is only there to
|
||||
# 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:
|
||||
description: >
|
||||
Collects various performance metrics from AOT builds of the Complex
|
||||
@ -90,25 +83,12 @@ tasks:
|
||||
stage: devicelab
|
||||
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:
|
||||
description: >
|
||||
Measures the startup time of the Complex Layout sample app on Android.
|
||||
stage: devicelab
|
||||
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:
|
||||
description: >
|
||||
Measures the performance of Dart VM hot patching feature.
|
||||
@ -127,18 +107,6 @@ tasks:
|
||||
stage: devicelab
|
||||
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:
|
||||
description: >
|
||||
Runs benchmarks from dev/benchmarks/microbenchmarks.
|
||||
@ -284,3 +252,35 @@ tasks:
|
||||
stage: devicelab
|
||||
required_agent_capabilities: ["linux/android"]
|
||||
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() {
|
||||
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.stage, 'devicelab');
|
||||
expect(task.requiredAgentCapabilities, <String>['has-android-device']);
|
||||
expect(task.requiredAgentCapabilities, <String>['linux/android']);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user