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

Unified Diff: tools/test.dart

Issue 561893002: Find pub status file in right directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « sdk/lib/_internal/pub_generated/pub.status ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index f85717ae7d86b40409974af04ca815b9b4f04632..ac25d115a79abcf1d2302728e11d5c3102e670fb 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -221,8 +221,11 @@ void testConfigurations(List<Map> configurations) {
} else if (key == 'pub') {
// TODO(rnystrom): Move pub back into TEST_SUITE_DIRECTORIES once
// #104 is fixed.
- testSuites.add(new StandardTestSuite.forDirectory(conf,
- new Path('sdk/lib/_internal/pub_generated'), 'pub'));
+ testSuites.add(new StandardTestSuite(conf, 'pub',
+ new Path('sdk/lib/_internal/pub_generated'),
+ ['sdk/lib/_internal/pub/pub.status'],
+ isTestFilePredicate: (file) => file.endsWith('_test.dart'),
+ recursive: true));
}
}
« no previous file with comments | « sdk/lib/_internal/pub_generated/pub.status ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698