413867d678
The script verifies that the multi-test only contains static annotations and that converting it to a single test produces the same error messages as testing the sub-tests generated by the multi-test. If that is the case, it uses pkg/test_runner/tool/update_static_error_tests.dart to insert the expected errors and removes the multi-test markers. Additionally, a copy of the '/none' test and of all the sub-tests with an 'OK' marker are created to preserve the testof runtime behavior. Change-Id: I6eb67246f209dfbdf9b4ba8705c368c6f1978938 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124128 Commit-Queue: Karl Klose <karlklose@google.com> Reviewed-by: Jonas Termansen <sortie@google.com>