dart-sdk/tests/ffi/analysis_options.yaml
Daco Harkes 90668fba0c [tests/ffi] Folder deletion on Windows
On windows we do have a crashpad handler we use to capture coredumps.
This functionality is initialized in `runtime/bin/main_impl.cc` /
`runtime/bin/crashpad.cc`. That may start a subprocess. If that
subprocess has the tempdir as working directory (or inherit handles
referring to it / subdirs/subfiles) it may prevent it from being
deleted.
Adding '--suppress-core-dump' to the Dart process invocations prevents
this.

TEST=ffi/native_assets/infer_native_assets_yaml_dart_kernel_snapshot
TEST=ffi/native_assets/infer_native_assets_yaml_process_run

Closes: https://github.com/dart-lang/sdk/issues/51067

Change-Id: I75807e65e9911653983158a238194968aaedb51f
Cq-Include-Trybots: luci.dart.try:vm-kernel-nnbd-win-debug-x64-try,vm-kernel-nnbd-win-release-ia32-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279399
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2023-01-24 16:15:21 +00:00

11 lines
267 B
YAML

analyzer:
exclude:
# Do analyze this subfolder in the tests/ even if tests/ is fully excluded.
enable-experiment:
- records # TODO(http://dartbug.com/50586): Remove this when records are no longer an experiment.
linter:
rules:
- unawaited_futures