| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index a5569121f6f467b2ddfa135b7807d6f8f057c173..76b3c326083498a80664fd439cd248c496361416 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -1962,8 +1962,11 @@ class DartcCompilationTestSuite extends StandardTestSuite {
|
| }
|
|
|
| class AnalyzeLibraryTestSuite extends DartcCompilationTestSuite {
|
| + static String libraryPath(Map configuration) =>
|
| + configuration['use_sdk'] ? '${TestUtils.buildDir(configuration)}/dart-sdk' : 'sdk';
|
| +
|
| AnalyzeLibraryTestSuite(Map configuration)
|
| - : super(configuration, 'analyze_library', 'sdk', ['lib'],
|
| + : super(configuration, 'analyze_library', libraryPath(configuration), ['lib'],
|
| ['tests/lib/analyzer/analyze_library.status']);
|
|
|
| List<String> additionalOptions(Path filePath, {bool showSdkWarnings}) {
|
|
|