| Index: tests/lib/analyzer/test_config.dart
|
| diff --git a/tests/lib/analyzer/test_config.dart b/tests/lib/analyzer/test_config.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2189bcf46306c9fd1ce8e42a2a87803ab7378303
|
| --- /dev/null
|
| +++ b/tests/lib/analyzer/test_config.dart
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library analyze_library_test_config;
|
| +
|
| +import 'dart:io';
|
| +import '../../../tools/testing/dart/test_suite.dart';
|
| +
|
| +class AnalyzeLibraryTestSuite extends DartcCompilationTestSuite {
|
| + final libraries = [ 'async', 'core', 'crypto', 'io', 'isolate', 'json',
|
| + 'math', 'mirrors', 'scalarlist', 'typeddata', 'uri',
|
| + 'utf' ];
|
| +
|
| + AnalyzeLibraryTestSuite(Map configuration)
|
| + : super(configuration,
|
| + 'analyze_library',
|
| + 'sdk',
|
| + [ 'lib' ],
|
| + ['tests/lib/analyzer/analyze_library.status'],
|
| + allStaticClean: true);
|
| +
|
| + bool isTestFile(String filename) {
|
| + var sep = Platform.pathSeparator;
|
| + return libraries.any((String lib) {
|
| + return filename.endsWith('lib$sep$lib$sep$lib.dart');
|
| + });
|
| + }
|
| +
|
| + bool get listRecursively => true;
|
| +}
|
|
|