Commit 2a11e896 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Update clean command in devicelab tests (#12640)

parent 1eed6dff
......@@ -19,7 +19,7 @@ Future<Null> main() async {
final Device device = await devices.workingDevice;
await device.unlock();
await flutter('packages', options: <String>['get']);
await flutter('build', options: <String>['clean']);
await flutter('clean');
await flutter('build', options: <String>['apk', '--target', 'test/live_smoketest.dart']);
final String androidStudioPath = grep('Android Studio at', from: await evalFlutter('doctor')).first.split(' ').last;
await exec('./tool/run_instrumentation_test.sh', <String>[], environment: <String, String>{
......
......@@ -192,7 +192,7 @@ class BuildTest {
}
static Future<Map<String, dynamic>> _buildAot(bool previewDart2) async {
await flutter('build', options: <String>['clean']);
await flutter('clean');
final Stopwatch watch = new Stopwatch()..start();
final List<String> options = <String>[
'aot',
......@@ -218,7 +218,7 @@ class BuildTest {
}
static Future<Map<String, dynamic>> _buildDebug(bool previewDart2) async {
await flutter('build', options: <String>['clean']);
await flutter('clean');
final Stopwatch watch = new Stopwatch();
if (deviceOperatingSystem == DeviceOperatingSystem.ios) {
......
......@@ -29,7 +29,7 @@ TaskFunction createBasicMaterialAppSizeTest() {
await inDirectory(sampleDir, () async {
await flutter('packages', options: <String>['get']);
await flutter('build', options: <String>['clean']);
await flutter('clean');
if (deviceOperatingSystem == DeviceOperatingSystem.ios) {
await prepareProvisioningCertificates(sampleDir.path);
......
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