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

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

Issue 2851833003: Add support for recording a log file during tests (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | 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/support/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/support/integration_tests.dart b/pkg/analysis_server/test/integration/support/integration_tests.dart
index e5db976e26c2db822408506ae0ab79f9814755e6..d002217bb9cfa6d4669d6d66b83567f6df419a88 100644
--- a/pkg/analysis_server/test/integration/support/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/support/integration_tests.dart
@@ -649,6 +649,7 @@ class Server {
Future start({
bool checked: true,
int diagnosticPort,
+ String instrumentationLogFile,
bool profileServer: false,
String sdkPath,
int servicesPort,
@@ -696,6 +697,9 @@ class Server {
arguments.add('--port');
arguments.add(diagnosticPort.toString());
}
+ if (instrumentationLogFile != null) {
+ arguments.add('--instrumentation-log-file=$instrumentationLogFile');
+ }
if (sdkPath != null) {
arguments.add('--sdk=$sdkPath');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698