Add smoke tests to test every commit on a Catalina host. (#38567)

* Add a smoke test to test every commit on a Catalina host.
* Also add a hot-reload test.

Related issue: #36290.
This commit is contained in:
Tong Wu
2019-08-14 15:09:35 -07:00
committed by GitHub
parent a56dfaf900
commit 066738324e
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
// It's intended to use the Gallery startup test as a smoke test on macOS
// Catalina.
await task(createFlutterGalleryStartupTest());
}