Files
sdk/pkg/dds/lib
Danny Tuppeny ac38046718 [dds/dap] Don't sent output events for skip messages as a result of using solo:true
When running a large test file with `solo: true` on one test, the output looks like:

```
! test name
Skip: does not have "solo"
! test name
Skip: does not have "solo"
! test name
Skip: does not have "solo"
! test name
Skip: does not have "solo"
✓ solo test
! test name
Skip: does not have "solo"
```

While custom skip messages might be useful, when the skip messages are from using solo:true this just makes the output spammy and adds extra noise to scan through for the actual solo test you ran.

This change prevents creating output events for such skip messages (but still sends them for custom messages, since those are likely far less frequent).

The `print` events themselves are still forwarded to the DAP client, so it still has the data for this that it can present elsewhere (for example by showing the test node as skipped, if appropriate).

Fixes part of https://github.com/Dart-Code/Dart-Code/issues/5938

Change-Id: I1d26751207e7b89f77e13be0dfcc74710e7d75ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/486780
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Jessy Yameogo <yjessy@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2026-03-11 08:31:49 -07:00
..