From 3f08ba3ad1d605aad65976b56c82d75b761ac7ed Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 2 Feb 2022 08:12:27 +0100 Subject: [PATCH] Migrate `run_tests.py` to `dart pub get` (flutter/engine#31181) --- engine/src/flutter/testing/run_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/testing/run_tests.py b/engine/src/flutter/testing/run_tests.py index b84e6efcd6..99c8137676 100755 --- a/engine/src/flutter/testing/run_tests.py +++ b/engine/src/flutter/testing/run_tests.py @@ -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, )