mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1904288 - Allow to skip some tests in the pdfpaint task r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221678
This commit is contained in:
parent
3f6f6497bf
commit
07471ed168
@ -696,7 +696,7 @@ mozilla-pdf.js:
|
||||
fetch:
|
||||
type: git
|
||||
repo: https://github.com/mozilla/pdf.js
|
||||
revision: d64f334f98d4b7f1c2e09a731a63b68629c946f9
|
||||
revision: 5b4c2fe1a845169ac2b4f8f6335337c434077637
|
||||
|
||||
xmlstarlet-1.6.1:
|
||||
description: xmlstarlet for Android Performance Tests
|
||||
|
@ -58,6 +58,8 @@ def gather_talos_pdf(test_folder, pdf_info, output_dir):
|
||||
found in the test/test_manifest.json file from the pdf.js repo.
|
||||
:param Path output_dir: The directory to move/download the PDF to.
|
||||
"""
|
||||
if not pdf_info.get("talos", True):
|
||||
return
|
||||
pdf_file = pdf_info["file"]
|
||||
output_pdf_path = pathlib.Path(output_dir, pathlib.Path(pdf_file).name)
|
||||
|
||||
|
@ -230,6 +230,9 @@ def setup_pdfpaint_test(config, test_instance):
|
||||
|
||||
pdf_files = set()
|
||||
for pdf_info in test_manifest:
|
||||
if not pdf_info.get("talos", True):
|
||||
# Skip pdfs that are not meant to be tested
|
||||
continue
|
||||
if pdf_info.get("password", None) is not None:
|
||||
# PDFs that require passwords cause timeouts
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user