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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 303693006: Code review changes for r36718. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 0c72a1b89de7511c1f8f1448a827608769e5bf6a..e28920a5fb144696c1b8d47472795c2c43de8aee 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -402,7 +402,10 @@ abstract class TestSuite {
* third_party/pkg/PACKAGE_NAME
*/
- isValid(packageName) => packageName != 'third_party';
+ // Packages that contain "-" in their names are pinned to specific versions.
+ // We can ignore those for the purposes of testing.
kustermann 2014/05/28 07:13:57 This comment is misleading (as I already mentioned
nweiz 2014/05/28 20:33:27 Done.
+ isValid(packageName) =>
+ packageName != 'third_party' && !packageName.contains('-');
var dartDir = TestUtils.dartDir;
var futures = [
@@ -415,11 +418,6 @@ abstract class TestSuite {
for (var result in results) {
for (var packageTuple in result) {
String packageName = packageTuple[0];
-
- // Some packages are pinned to specific versions. We can ignore those
- // for the purposes of testing.
- if (packageName.contains('-')) continue;
-
String fullPath = packageTuple[1];
String yamlFile =
new Path(fullPath).append('pubspec.yaml').toNativePath();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698