Skip to content

Commit 0e86f0b

Browse files
scripts/test.py: minor improvements to docs.
1 parent fa13f22 commit 0e86f0b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

scripts/test.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
Pytest test names, comma-separated. Should be relative to PyMuPDF
7272
directory. For example:
7373
-t tests/test_general.py
74-
-t tests/test_general.py::test_subset_fonts.
74+
-t tests/test_general.py::test_subset_fonts
7575
To specify multiple tests, use comma-separated list and/or multiple `-t
7676
<names>` args.
7777
-v 0|1|2
@@ -92,12 +92,13 @@
9292
--build-mupdf 0|1
9393
Whether to rebuild mupdf when we build PyMuPDF. Default is 1.
9494
--gdb 0|1
95-
Run tests under gdb.
95+
Run tests under gdb. Requires user interaction.
9696
--pybind 0|1
97-
Run tests inside C++ pybind.Requires `sudo apt install pybind11-dev` or
98-
similar.
97+
Experimental, for investigating
98+
https://github.com/pymupdf/PyMuPDF/issues/3869. Runs run basic code
99+
inside C++ pybind. Requires `sudo apt install pybind11-dev` or similar.
99100
--system-site-packages 0|1
100-
If 1, use `--system-site-packages` when creating venv.
101+
If 1, use `--system-site-packages` when creating venv. Defaults is 0.
101102
--timeout <seconds>
102103
Sets timeout when running tests.
103104
--valgrind 0|1

0 commit comments

Comments
 (0)