summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2015-11-03 11:13:46 -0500
committerDan Sinclair <dsinclair@chromium.org>2015-11-03 11:13:46 -0500
commitad98f078b34e4f717e76864ea77d600315b2718b (patch)
treec4e41eb40347d2c8b4c856b629aeb603f5442cee /testing
parenta2d64303a3562d1c81817121b57cdd265e1a76d0 (diff)
downloadpdfium-ad98f078b34e4f717e76864ea77d600315b2718b.tar.xz
Merge to XFA: Return result of the test runner.
We need to actually return the result of the test runner.... TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1413863011 . (cherry picked from commit d1579c9b92b7f9c1d9e0fac1ecb8e3cb23875fca) Review URL: https://codereview.chromium.org/1419953009 .
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/tools/run_corpus_tests.py2
-rwxr-xr-xtesting/tools/run_javascript_tests.py2
-rwxr-xr-xtesting/tools/run_pixel_tests.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py
index c7ff605475..dd81a2736d 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -9,7 +9,7 @@ import test_runner
def main():
runner = test_runner.TestRunner('corpus')
- runner.Run()
+ return runner.Run()
if __name__ == '__main__':
sys.exit(main())
diff --git a/testing/tools/run_javascript_tests.py b/testing/tools/run_javascript_tests.py
index 2f468820dc..76d2379dbb 100755
--- a/testing/tools/run_javascript_tests.py
+++ b/testing/tools/run_javascript_tests.py
@@ -9,7 +9,7 @@ import test_runner
def main():
runner = test_runner.TestRunner('javascript')
- runner.Run()
+ return runner.Run()
if __name__ == '__main__':
sys.exit(main())
diff --git a/testing/tools/run_pixel_tests.py b/testing/tools/run_pixel_tests.py
index cb1b42ddaa..aad39c5600 100755
--- a/testing/tools/run_pixel_tests.py
+++ b/testing/tools/run_pixel_tests.py
@@ -9,7 +9,7 @@ import test_runner
def main():
runner = test_runner.TestRunner('pixel')
- runner.Run()
+ return runner.Run()
if __name__ == '__main__':
sys.exit(main())