Unverified Commit 9e0a6107 authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

Support local-engine option for flutter_tester on Windows. (#16648)

parent f049f436
...@@ -307,6 +307,8 @@ class LocalEngineArtifacts extends Artifacts { ...@@ -307,6 +307,8 @@ class LocalEngineArtifacts extends Artifacts {
return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester)); return fs.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester));
} else if (getCurrentHostPlatform() == HostPlatform.darwin_x64) { } else if (getCurrentHostPlatform() == HostPlatform.darwin_x64) {
return fs.path.join(engineOutPath, 'flutter_tester'); return fs.path.join(engineOutPath, 'flutter_tester');
} else if (getCurrentHostPlatform() == HostPlatform.windows_x64) {
return fs.path.join(engineOutPath, 'flutter_tester.exe');
} }
throw new Exception('Unsupported platform $platform.'); throw new Exception('Unsupported platform $platform.');
} }
......
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