Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 66b6a1e54f36e1152f82c71a3d8d3ea439c5e9ca..533c01cb6b56da39412e76586007cb5f2d742482 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -895,6 +895,12 @@ class StandardTestSuite extends TestSuite { |
var packageDirectories = {}; |
if (configuration['use_repository_packages']) { |
packageDirectories = new Map.from(localPackageDirectories); |
+ |
+ // Don't create a dependency override for pub, since it's an application |
+ // package and it has a dependency on compiler_unsupported which isn't |
+ // in the repo. |
+ packageDirectories.remove('pub'); |
+ |
// Do not create an dependency override for the package itself. |
if (packageDirectories.containsKey(packageName)) { |
packageDirectories.remove(packageName); |
@@ -1988,6 +1994,12 @@ class PkgBuildTestSuite extends TestSuite { |
var packageDirectories = {}; |
if (!configuration['use_public_packages']) { |
packageDirectories = new Map.from(localPackageDirectories); |
+ |
+ // Don't create a dependency override for pub, since it's an |
+ // application package and it has a dependency on compiler_unsupported |
+ // which isn't in the repo. |
+ packageDirectories.remove('pub'); |
+ |
if (packageDirectories.containsKey(packageName)) { |
packageDirectories.remove(packageName); |
} |