Commit 14c483f1c497ff1bcc256bd5435cbf7af3d620cf

Shahbaz Youssefi 2022-05-03T21:33:32

Presubmit: Verify comment before new tests A new presubmit check is added that looks for lines adding tests, i.e. matching `+TEST_P(`, and makes sure they are preceded by a pattern such as: ``` // ... - ... (optional removals) +TEST_P(...) ``` or ``` +// ... - ... (optional removals) +TEST_P(...) ``` If no comment is found before the test, an error is generated. Bug: angleproject:2626 Change-Id: Ibf76ae76ad3b1bb0efcf7eab8273153dd5c5162e Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3626929 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>