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

Unified Diff: pkg/analyzer/test/src/context/builder_test.dart

Issue 2717873002: debug analyzer test on windows (Closed)
Patch Set: Created 3 years, 10 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/analyzer/lib/src/context/builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/context/builder_test.dart
diff --git a/pkg/analyzer/test/src/context/builder_test.dart b/pkg/analyzer/test/src/context/builder_test.dart
index 83e059329844874a986cc88fb19345bfd8553651..74321857a196342a007324162d5ec3b3a1b9843a 100644
--- a/pkg/analyzer/test/src/context/builder_test.dart
+++ b/pkg/analyzer/test/src/context/builder_test.dart
@@ -735,11 +735,17 @@ linter:
rules:
- mock_lint_rule
''');
- AnalysisOptions options = builder.getAnalysisOptions(
- resourceProvider.convertPath('/some/directory/path'));
+ String projPath = resourceProvider.convertPath('/some/directory/path');
+ AnalysisOptions options = builder.getAnalysisOptions(projPath);
// TODO(danrubel) fix on Windows
if (resourceProvider.absolutePathContext.separator != r'\') {
_expectEqualOptions(options, expected);
+ } else {
+ // echo some debugging information
+ print('>>> projPath: $projPath');
+ print('>>> ${builderOptions.defaultAnalysisOptionsFilePath}');
+ print('>>> getOptionsFile: ${builder.getOptionsFile(projPath)}');
+ fail('>>>>>>> Fail to echo test output on bots <<<<<<<');
}
}
« no previous file with comments | « pkg/analyzer/lib/src/context/builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698