Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 1249793007: performance measurement mods: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/benchmark/integration/operation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
index f46b3387c04b20315b421bceba7b2a815f7b5f8d..3345554ed113462cf1e153178ab850077a5e0f66 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -16,6 +16,7 @@ import 'package:unittest/unittest.dart';
import 'integration_test_methods.dart';
import 'protocol_matchers.dart';
+import 'package:analysis_server/src/server/driver.dart' as analysisServer;
const Matcher isBool = const isInstanceOf<bool>('bool');
@@ -590,7 +591,8 @@ class Server {
* "--pause-isolates-on-exit", allowing the observatory to be used.
*/
Future start({bool debugServer: false, int diagnosticPort,
- bool profileServer: false, bool useAnalysisHighlight2: false}) {
+ bool profileServer: false, bool newTaskModel: false,
+ bool useAnalysisHighlight2: false}) {
if (_process != null) {
throw new Exception('Process already started');
}
@@ -619,6 +621,9 @@ class Server {
if (useAnalysisHighlight2) {
arguments.add('--useAnalysisHighlight2');
}
+ if (newTaskModel) {
+ arguments.add('--${analysisServer.Driver.ENABLE_NEW_TASK_MODEL}');
+ }
return Process.start(dartBinary, arguments).then((Process process) {
_process = process;
process.exitCode.then((int code) {
« no previous file with comments | « pkg/analysis_server/benchmark/integration/operation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698