summaryrefslogtreecommitdiff
path: root/testing/tools/test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tools/test_runner.py')
-rw-r--r--testing/tools/test_runner.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/tools/test_runner.py b/testing/tools/test_runner.py
index 92db9118dd..3a31709be4 100644
--- a/testing/tools/test_runner.py
+++ b/testing/tools/test_runner.py
@@ -163,6 +163,9 @@ class TestRunner:
parser.add_option('--gold_output_dir', default='', dest="gold_output_dir",
help='Path of where to write the JSON output to be uploaded to Gold.')
+ parser.add_option('--gold_ignore_hashes', default='', dest="gold_ignore_hashes",
+ help='Path to a file with MD5 hashes we wish to ignore.')
+
parser.add_option('--ignore_errors', action="store_true", dest="ignore_errors",
help='Prevents the return value from being non-zero when image comparison fails.')
@@ -227,7 +230,8 @@ class TestRunner:
self.gold_results = gold.GoldResults("pdfium",
options.gold_output_dir,
options.gold_properties,
- options.gold_key)
+ options.gold_key,
+ options.gold_ignore_hashes)
if options.num_workers > 1 and len(test_cases) > 1:
try: