[Document Policy] Add PRESUBMIT test on code generation
This CL adds a PRESUBMIT check on document policy code generation to compare the generated .cc file with the reference file. Note: the test is suffixed with '_presubmit_only', so that it will be excluded from 'run_blinkpy_tests.py' task, where jinja2 module is not available. Bug: 1166698 Change-Id: I4d2a1f3a9960c79e79d526ab8445d0ade74b4143 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633734 Commit-Queue: Charlie Hu <chenleihu@google.com> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#845796}
Showing
Please register or sign in to comment