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:
@@ -13,10 +13,11 @@ import '../base/process_manager.dart';
|
||||
import '../globals.dart';
|
||||
|
||||
class AnalysisServer {
|
||||
AnalysisServer(this.sdkPath, this.directories);
|
||||
AnalysisServer(this.sdkPath, this.directories, {this.previewDart2 = false});
|
||||
|
||||
final String sdkPath;
|
||||
final List<String> directories;
|
||||
final bool previewDart2;
|
||||
|
||||
Process _process;
|
||||
final StreamController<bool> _analyzingController =
|
||||
@@ -34,9 +35,14 @@ class AnalysisServer {
|
||||
snapshot,
|
||||
'--sdk',
|
||||
sdkPath,
|
||||
'--preview-dart-2',
|
||||
];
|
||||
|
||||
if (previewDart2) {
|
||||
command.add('--preview-dart-2');
|
||||
} else {
|
||||
command.add('--no-preview-dart-2');
|
||||
}
|
||||
|
||||
printTrace('dart ${command.skip(1).join(' ')}');
|
||||
_process = await processManager.start(command);
|
||||
// This callback hookup can't throw.
|
||||
|
||||
Reference in New Issue
Block a user