Skip to content

Commit dd363e5

Browse files
authored
Migrate run_tests.py to dart pub get (flutter#31181)
1 parent e5cce79 commit dd363e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/run_tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,12 +403,12 @@ def RunDartTests(build_dir, filter, verbose_dart_snapshot):
403403
# Before running Dart tests, make sure to run just that target (NOT the whole engine)
404404
EnsureDebugUnoptSkyPackagesAreBuilt()
405405

406-
# Now that we have the Sky packages at the hardcoded location, run `pub get`.
406+
# Now that we have the Sky packages at the hardcoded location, run `dart pub get`.
407407
RunEngineExecutable(
408408
build_dir,
409-
os.path.join('dart-sdk', 'bin', 'pub'),
409+
os.path.join('dart-sdk', 'bin', 'dart'),
410410
None,
411-
flags=['get', '--offline'],
411+
flags=['pub', 'get', '--offline'],
412412
cwd=dart_tests_dir,
413413
)
414414

0 commit comments

Comments
 (0)