media: Add presubmit for updating README when changing test files
I found some test files were added without updating the README file. So adding this presubmit check to remind people to do so. Here's an example of the warning when updating test files without updating the README file: ----------------------------------------- ~/chromium/src$ git cl presubmit --upload Running presubmit upload checks ... ** Presubmit Warnings ** When updating files in media/test/data, please also update media/test/data/README: media/test/data/vorbis-asd \ media/test/data/vorbis-packet-0 \ media/test/data/vorbis-packet-0_for_test Presubmit checks took 1.4s to calculate. ----------------------------------------- Bug: 818048 Change-Id: Ibc8b5d82aa7b0fd2688a01b736a57d8bf0e11e29 Reviewed-on: https://chromium-review.googlesource.com/1229497Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#592149}
Showing
media/test/PRESUBMIT.py
0 → 100644
Please register or sign in to comment