| 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..c306bb8199cd9bbf4b44ed94764fbb9e3ccc18b8 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -1962,9 +1962,13 @@ 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'],
|
| - ['tests/lib/analyzer/analyze_library.status']);
|
| + : super(configuration, 'analyze_library', libraryPath(configuration),
|
| + ['lib'], ['tests/lib/analyzer/analyze_library.status']);
|
|
|
| List<String> additionalOptions(Path filePath, {bool showSdkWarnings}) {
|
| var options = super.additionalOptions(filePath);
|
|
|