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
|
# 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:
|
|||||||
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:
|
|||||||
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:
|
|||||||
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() {
|
|||||||
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']);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user