You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CFE] Fix leak testing after kernels ast.dart was split into parts
The weekly bot this week finished in half the time, but was green.
Turns out the splitting of ast.dart into parts made the actual leak
testing not work because `Library` no longer existed in `ast.dart` (but
rather in `src/ast/libraries.dart`).
This CL:
1) Fixes the issue by also looking up the libraries uri (which is still
`ast.dart`.
2) Adds an option for requiring to find instances of some things it
looks for (e.g. `Library` in kernel) and throw if it doesn't. This
would have made the weekly bot turn red (fail) instead of being green
(saying that everything was fine) when really it wasn't.
3) Adds a test that is run on the try bots that will exercise the leak
finding - and throw if it doesn't find `Library` in kernel.
Change-Id: Ie69bfbd188eb870fdc1e340a341c1271187ef110
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389162
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Jens Johansen <[email protected]>
0 commit comments