| Index: tools/testing/dart/test_configurations.dart
|
| diff --git a/tools/testing/dart/test_configurations.dart b/tools/testing/dart/test_configurations.dart
|
| index 1592b0cbb5bd56b3ea8f9663fe3021a0e8c02b0a..fa8c7e07f81acdd665dc204fe7eb3c8b2946fa78 100644
|
| --- a/tools/testing/dart/test_configurations.dart
|
| +++ b/tools/testing/dart/test_configurations.dart
|
| @@ -301,8 +301,14 @@ Future testConfigurations(List<Map> configurations) async {
|
| if (Platform.isWindows) {
|
| // When running tests on Windows, use cdb from depot_tools to dump
|
| // stack traces of tests timing out.
|
| - var text = await new File(VS_TOOLCHAIN_FILE.toNativePath()).readAsString();
|
| - firstConf['win_sdk_path'] = JSON.decode(text)['win_sdk'];
|
| + try {
|
| + var text =
|
| + await new File(VS_TOOLCHAIN_FILE.toNativePath()).readAsString();
|
| + firstConf['win_sdk_path'] = JSON.decode(text)['win_sdk'];
|
| + } on dynamic {
|
| + // Ignore errors here. If win_sdk is not found, stack trace dumping
|
| + // for timeouts won't work.
|
| + }
|
| }
|
|
|
| // [firstConf] is needed here, since the ProcessQueue needs to know the
|
|
|