-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add integration test for flutter build windows
#106053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add integration test for flutter build windows
#106053
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not ideal. Since Flutter's builder number defaults to 1, ideally the default file version would be 1.0.0.1. I'll fix this in a subsequent pull request.
032facb to
87581bb
Compare
cbracken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm modulo nits.
packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart
Outdated
Show resolved
Hide resolved
Add an integration test that verifies that `flutter build windows` produces the expected executable. In the future, this will be used to test that version information is properly stamped on the executable. Part of flutter#73652.
Add an integration test that verifies that
flutter build windowsproduces the expected executable. In the future, this will be used to test that version information is properly stamped on the executable.This solution uses PowerShell to read the executable's version information. I chose against using win32's version APIs as that requires adding
package:ffiand >100 lines of FFI boilerplate.Part of #73652.
Pre-launch Checklist
///).