mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 15:01:30 +00:00
Fix failing tests in pkg:native
Rev the import and fix the tests in pkg:dartdev to reflect recent refactorings. Cq-Include-Trybots: luci.dart.try:pkg-linux-release-try Change-Id: If3df36284b1a324cbdc94b709008891b1f3d756f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/341221 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Moritz Sümmermann <mosum@google.com>
This commit is contained in:
parent
fc02d365cc
commit
182a20f835
2 changed files with 10 additions and 5 deletions
2
DEPS
2
DEPS
|
@ -163,7 +163,7 @@ vars = {
|
|||
"material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e",
|
||||
"mime_rev": "56359b0c72e1a9a2e2b20ee5a34bacc18e113897",
|
||||
"mockito_rev": "57a7c820ffae61e3df0dbc279ad98b92751175f0",
|
||||
"native_rev": "5aeab2915167fd24ccb1241c07516b388fda2b9b", # https://github.com/dart-lang/native/issues/855
|
||||
"native_rev": "b668ca94f551fcebdeb3ce9f822170facced55ae",
|
||||
"package_config_rev": "33dd24659147bd7ed2fa87aeacc52d199be766b4",
|
||||
"path_rev": "115ea2a4084881e7c76089a37abc01a067dfa6e3",
|
||||
"pool_rev": "3c1bd422da311d95b65a04a5f28de2c0e8193692",
|
||||
|
|
|
@ -74,10 +74,15 @@ Future<void> copyTestProjects(Uri copyTargetUri, Logger logger) async {
|
|||
final manifest = [
|
||||
for (final path in manifestYaml.contents as YamlList) Uri(path: path)
|
||||
];
|
||||
final filesToCopy =
|
||||
manifest.where((e) => e.pathSegments.last != 'pubspec.yaml').toList();
|
||||
final filesToModify =
|
||||
manifest.where((e) => e.pathSegments.last == 'pubspec.yaml').toList();
|
||||
final filesToCopy = manifest
|
||||
.where((e) => !(e.pathSegments.last.startsWith('pubspec') &&
|
||||
e.pathSegments.last.endsWith('.yaml')))
|
||||
.toList();
|
||||
final filesToModify = manifest
|
||||
.where((e) =>
|
||||
e.pathSegments.last.startsWith('pubspec') &&
|
||||
e.pathSegments.last.endsWith('.yaml'))
|
||||
.toList();
|
||||
|
||||
for (final pathToCopy in filesToCopy) {
|
||||
final sourceFile = File.fromUri(testProjectsUri.resolveUri(pathToCopy));
|
||||
|
|
Loading…
Reference in a new issue