Unverified Commit 62da6525 authored by William Hesse's avatar William Hesse Committed by GitHub

Do not reset framework checkout before running customer tests (#141013)

The migration of customer tests to sharded tests adds a step that checks out the current tip-of-tree of the framework repo, removing local changes. This does not work with monorepo testing, which modifies engine.version, and does not work with local testing of a branch.

The sharded tests should already be running with the correct checkout of the framework repo. If the REVISION environment variable is set, the framework checkout will still be reset to check out that revision.

These commands were migrated from the existing shell script to the sharded tester in
https://github.com/flutter/flutter/pull/138659

Bug: https://github.com/dart-lang/sdk/issues/51042
parent 5931b4f2
...@@ -1577,8 +1577,10 @@ Future<void> _runCustomerTesting() async { ...@@ -1577,8 +1577,10 @@ Future<void> _runCustomerTesting() async {
await runCommand( await runCommand(
'git', 'git',
<String>[ <String>[
'checkout', 'branch',
'-f',
'master', 'master',
'origin/master',
], ],
workingDirectory: flutterRoot, workingDirectory: flutterRoot,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment