mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Migrate run_tests.py to dart pub get (flutter/engine#31181)
This commit is contained in:
parent
12441dd36b
commit
3f08ba3ad1
@ -403,12 +403,12 @@ def RunDartTests(build_dir, filter, verbose_dart_snapshot):
|
||||
# Before running Dart tests, make sure to run just that target (NOT the whole engine)
|
||||
EnsureDebugUnoptSkyPackagesAreBuilt()
|
||||
|
||||
# Now that we have the Sky packages at the hardcoded location, run `pub get`.
|
||||
# Now that we have the Sky packages at the hardcoded location, run `dart pub get`.
|
||||
RunEngineExecutable(
|
||||
build_dir,
|
||||
os.path.join('dart-sdk', 'bin', 'pub'),
|
||||
os.path.join('dart-sdk', 'bin', 'dart'),
|
||||
None,
|
||||
flags=['get', '--offline'],
|
||||
flags=['pub', 'get', '--offline'],
|
||||
cwd=dart_tests_dir,
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user