DescriptionAdd presubmit check for run-bindings-tests
run-bindings-tests should be run (and succeed) for any changes to
Source/bindings. This is particularly important to make sure tests are
rebaselined when changes are made to the code generator.
This adds a PRESUBMIT.py script to do just that!
Checked that this worked by changing a test IDL in
Source/bindings/tests/idls
...and running
git cl upload
...which then gives a presubmit warning, as desired!
Script based on GetUnitTests in
tools/depot_tools/presubmit_canned_checks.py
...which seems exemplary. I've stripped it down to the minimum. Ref:
http://src.chromium.org/viewvc/chrome/trunk/tools/depot_tools/presubmit_canned_checks.py?view=markup
Proximately, this is in reply to Erik's request:
https://codereview.chromium.org/19047003/#msg5
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155448
Patch Set 1 #Patch Set 2 : Fix copyright notice #Patch Set 3 : Tweak similarity #Messages
Total messages: 15 (0 generated)
|