396e58e0f2
It appears that invoking exit with a value other than either zero (0) or 254 causes the test infrastructure to interpret the failure as a failure in the infrastructure, turning the bot purple rather than red. Thowing an exception is interpreted correctly, so I believe that this change will cause a need to regenerate to show up as a red bot. Change-Id: I01e9fc2bfe09fac3da2a9aade69fabf3abd17179 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216260 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
A set of utilities used by the tools in several analyzer-related packages.
Not meant to be published.