Create run_javascript_tests.py
authorTom Sepez <tsepez@chromium.org>
Thu, 12 Feb 2015 18:19:52 +0000 (10:19 -0800)
committerTom Sepez <tsepez@chromium.org>
Thu, 12 Feb 2015 18:19:52 +0000 (10:19 -0800)
commit9f93baf8766c2505f9ad28ebfedb4f28ece7aa02
tree7d7b8c618a2132c23a6759f98bfd80cee01d1d70
parent6e7ceb8225de25b66d27d620c9521e19de023504
Create run_javascript_tests.py

Top level script driver for testing/resources/javascript.
Converts each input template file in that directory to a
.pdf file in the working directory (typically
out/Debug/gen/pdfium/testing/resources/javascript), invokes
pdfium_test on it to generate , and crudely diffs the
expected output.

We can now remove generated .pdfs from source control,
keeping only the hand-editable .in templates.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/912803004
testing/resources/javascript/app_alert.pdf [deleted file]
testing/resources/javascript/consts.pdf [deleted file]
testing/tools/fixup_pdf_template.py
testing/tools/run_javascript_tests.py [new file with mode: 0755]