flutter/packages/flutter_tools/test
stuartmorgan aecf053ee0
Use vswhere to find Visual Studio (#33448)
Rather than hard-coding a set of locations to check, use vswhere (which
is installed by VS 2017 and later), and construct the vcvars64.bat path
relative to that. This will allow Windows builds to work without special
configuration for people who have VS installed at a custom path.

Also adds error logging with different messages for each failure point,
so that rather than the not-very-informative 'failed to find
vcvars64.bat' message, the failure will provide feedback about what to
do.

This is an interim solution; later this will be replaced by a
VisualStudio class with associated validator to match the structure of
the other toolchains.

Fixes #33249
2019-05-29 09:17:17 -07:00
..
android make FlutterProject synchronous (#31757) 2019-04-29 08:21:32 -07:00
base Implement macOS support in flutter doctor (#33277) 2019-05-24 22:51:02 -04:00
commands Use vswhere to find Visual Studio (#33448) 2019-05-29 09:17:17 -07:00
dart Rename flutter packages to flutter pub (#33041) 2019-05-21 16:38:58 +02:00
data Improve hot reload performance (#28152) 2019-03-15 15:02:45 -07:00
fuchsia [flutter_tool] Improve Fuchsia 'run' tests (#33263) 2019-05-24 07:48:41 -07:00
integration Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206) 2019-05-22 12:20:02 -07:00
intellij Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
ios Implement macOS support in flutter doctor (#33277) 2019-05-24 22:51:02 -04:00
linux Re-enable const (#31600) 2019-04-29 16:02:42 -07:00
macos Implement macOS support in flutter doctor (#33277) 2019-05-24 22:51:02 -04:00
runner Reland: Ensure that flutter run/drive/test/update_packages only downloads required artifacts (#30254) 2019-04-08 13:49:09 -07:00
src Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206) 2019-05-22 12:20:02 -07:00
tester Enable code generation features in tool (#29399) 2019-03-21 13:12:10 -07:00
web Initial sketch of tools testbed (#31765) 2019-04-30 15:42:16 -07:00
windows make FlutterProject synchronous (#31757) 2019-04-29 08:21:32 -07:00
analytics_test.dart Add missing trailing commas (#28673) 2019-03-01 08:17:55 +01:00
application_package_test.dart Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206) 2019-05-22 12:20:02 -07:00
artifacts_test.dart Stop precaching the artifacts for dynamic mode. (#31282) 2019-04-22 09:05:38 -07:00
asset_bundle_package_fonts_test.dart format parameter list (#27261) 2019-02-21 09:27:07 +01:00
asset_bundle_package_test.dart format parameter list (#27261) 2019-02-21 09:27:07 +01:00
asset_bundle_test.dart add missing test case and handle wildcard removal (#30205) 2019-03-29 14:26:56 -07:00
asset_bundle_variant_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
asset_test.dart ensure lastBuildTimestamp is set before early return (#25058) 2018-12-10 15:57:52 -08:00
base_utils_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
bug_report_test.dart Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206) 2019-05-22 12:20:02 -07:00
build_info_test.dart some formatting of map, parameters and spaces (#29760) 2019-03-23 00:02:21 +01:00
cache_test.dart Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
channel_test.dart Include git output into error message from channel command (#28658) 2019-03-01 10:22:59 -08:00
compile_test.dart refactor context to be implicit-downcast safe (#31622) 2019-04-25 15:51:08 -07:00
config_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
crash_reporting_test.dart don't send crash reports if on a user branch (#33078) 2019-05-21 11:58:41 -07:00
devfs_test.dart disable flaky devfs test (#33285) 2019-05-23 17:05:29 -07:00
device_test.dart apply lint prefer_void_to_null in packages/flutter_tools (#22686) 2018-10-05 07:54:56 +02:00
emulator_test.dart Implement macOS support in flutter doctor (#33277) 2019-05-24 22:51:02 -04:00
flutter_manifest_test.dart Fix #31764: Show appropriate error message when fonts pubspec.yaml isn't iterable 2019-05-01 09:49:39 -07:00
flutter_platform_test.dart baby-steps to testing/refactoring flutter_platform (#31616) 2019-04-25 14:01:28 -07:00
forbidden_imports_test.dart Add missing trailing commas (#28673) 2019-03-01 08:17:55 +01:00
hot_test.dart Download and handle product version of flutter patched sdk (#31063) 2019-04-15 21:02:20 -07:00
project_file_invalidator_test.dart Allowing adding/updating packages during hot reload (#29747) 2019-03-21 13:59:38 -07:00
project_test.dart Revert "Instrument add to app flows (#33297)" (#33449) 2019-05-28 12:52:58 -07:00
protocol_discovery_test.dart Add LICENSE test to presubmit checks (#28369) 2019-02-26 17:38:21 -08:00
resident_runner_test.dart Download and handle product version of flutter patched sdk (#31063) 2019-04-15 21:02:20 -07:00
test_compiler_test.dart Fix missing return statements on function literals (#33058) 2019-05-20 12:51:57 -07:00
time_test.dart Use constant durations in more places (#24306) 2018-11-14 08:16:12 -08:00
utils_test.dart set literal conversions (#27811) 2019-03-06 11:05:16 -08:00
version_test.dart make hotfix use a plus instead of minus (#32060) 2019-05-07 10:11:00 -07:00
vmservice_test.dart Capture JSON RPC errors that presently get swallowed (#31584) 2019-04-25 08:27:00 -07:00