Add --no-dds to Mac_arm64_ios version of hot_mode_dev_cycle_ios__benchmark (#145335)

Attempting to debug https://github.com/flutter/flutter/issues/142305.
This commit is contained in:
Victoria Ashworth
2024-03-18 13:51:26 -05:00
committed by GitHub
parent f4ee956d3e
commit 7f368f7ed4
4 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
// Copyright 2014 The Flutter 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 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/hot_mode_tests.dart';
Future<void> main() async {
// TODO(vashworth): Remove once https://github.com/flutter/flutter/issues/142305 is fixed.
deviceOperatingSystem = DeviceOperatingSystem.ios;
await task(createHotModeTest(
additionalOptions: <String>['--no-dds'],
));
}

View File

@@ -23,6 +23,7 @@ const String kReplacementLine = 'fontSize: (orientation == Orientation.portrait)
TaskFunction createHotModeTest({
String? deviceIdOverride,
bool checkAppRunningOnLocalDevice = false,
List<String>? additionalOptions,
}) {
// This file is modified during the test and needs to be restored at the end.
final File flutterFrameworkSource = file(path.join(
@@ -47,6 +48,7 @@ TaskFunction createHotModeTest({
'--no-publish-port',
'--verbose',
'--uninstall-first',
if (additionalOptions != null) ...additionalOptions,
];
int hotReloadCount = 0;
late Map<String, dynamic> smallReloadData;