Several benchmarks started failing during kernel compile:
1. Timeouts:
* commands_test
* hot_mode_dev_cycle__benchmark
* run_machine_concurrent_hot_reload
* service_extensions_test
2. Kernel compiler crash:
* hot_mode_dev_cycle_linux__benchmark
* routing_test
3. Unexpected termination:
* hot_mode_dev_cycle_win__benchmark
This reverts commit ed63e7082a.
This commit is contained in:
@@ -133,11 +133,20 @@ class FlutterTesterDevice extends Device {
|
||||
mainPath: mainPath,
|
||||
assetDirPath: assetDirPath,
|
||||
applicationKernelFilePath: applicationKernelFilePath,
|
||||
precompiledSnapshot: false,
|
||||
precompiledSnapshot: !buildInfo.previewDart2,
|
||||
previewDart2: buildInfo.previewDart2,
|
||||
trackWidgetCreation: buildInfo.trackWidgetCreation,
|
||||
);
|
||||
if (buildInfo.previewDart2) {
|
||||
mainPath = applicationKernelFilePath;
|
||||
}
|
||||
|
||||
command.add('--flutter-assets-dir=$assetDirPath');
|
||||
command.add(applicationKernelFilePath);
|
||||
|
||||
// TODO(scheglov): Either remove the check, or make it fail earlier.
|
||||
if (mainPath != null) {
|
||||
command.add(mainPath);
|
||||
}
|
||||
|
||||
try {
|
||||
printTrace(command.join(' '));
|
||||
|
||||
Reference in New Issue
Block a user