Skip to content

Commit

Permalink
scripts/test.py: do not test unoptimised and fitz module by default.
Browse files Browse the repository at this point in the history
This simplifies common usage where we don't need to test these different
scenarios.
  • Loading branch information
julian-smith-artifex-com committed Sep 30, 2024
1 parent ace3964 commit e5efec4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
-d
Equivalent to `--build-type debug`.
-f 0|1
If 1 (the default) we also test alias `fitz` as well as `pymupdf`.
If 1 we also test alias `fitz` as well as `pymupdf`. Default is '0'.
-i <implementations>
Set PyMuPDF implementations to test.
<implementations> must contain only these individual characters:
'r' - rebased.
'R' - rebased without optimisations.
Default is 'rR'. Also see `PyMuPDF:tests/run_compound.py`.
Default is 'r'. Also see `PyMuPDF:tests/run_compound.py`.
-k <expression>
Passed straight through to pytest's `-k`.
-m <location> | --mupdf <location>
Expand Down Expand Up @@ -144,8 +144,8 @@ def main(argv):
build_mupdf = True
build_flavour = 'pb'
gdb = False
test_fitz = True
implementations = None
test_fitz = False
implementations = 'r'
test_names = list()
venv = 2
pytest_options = None
Expand Down

0 comments on commit e5efec4

Please sign in to comment.