Parallelize run_corpus_tests.py.
authorLei Zhang <thestig@chromium.org>
Fri, 9 Oct 2015 20:42:58 +0000 (13:42 -0700)
committerLei Zhang <thestig@chromium.org>
Fri, 9 Oct 2015 20:42:58 +0000 (13:42 -0700)
commitfd751f28cecce61ab36038799043639d570e0b26
treed9af90a23c0176348430080b23c386d758ca26f6
parent848a13b6777cbff8cc4aea3ab3d69eaa0b82ae6c
Parallelize run_corpus_tests.py.

- Use the number of cores as the default -j value
- Fall back to old code for -j 1

R=nparker@chromium.org

Review URL: https://codereview.chromium.org/1398793003 .
testing/tools/common.py
testing/tools/pngdiffer.py
testing/tools/run_corpus_tests.py