summaryrefslogtreecommitdiff
path: root/test/benchpdfs.py
diff options
context:
space:
mode:
authorKrzysztof Kowalczyk <kkowalczyk@gmail.com>2008-03-28 06:04:23 +0100
committerKrzysztof Kowalczyk <kkowalczyk@gmail.com>2008-03-28 06:04:23 +0100
commit38e2d64f31d91edc2823edb874a968bbbe866c97 (patch)
tree47d3f35babe8616a9bb1df4a41fd0818ba4fdb45 /test/benchpdfs.py
parentbec4b91f24751be3225b57673c1736a353359a6e (diff)
downloadmupdf-38e2d64f31d91edc2823edb874a968bbbe866c97.tar.xz
Add a note about expected format of test pdf file names
Diffstat (limited to 'test/benchpdfs.py')
-rwxr-xr-xtest/benchpdfs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/benchpdfs.py b/test/benchpdfs.py
index 70ee5f94..1e037aaa 100755
--- a/test/benchpdfs.py
+++ b/test/benchpdfs.py
@@ -18,6 +18,11 @@ import sys, os, os.path, urllib2, gzip, bz2, traceback
# The script doesn't redownload the file if it has been downloaded before.
#
# Missing files are ignored
+#
+# By convetion names of PDF files are sha1 hash over the uncompressed content.
+# They have a nice property of being unique for each file.
+# To generate the name run sha1sum on an (uncompressed) pdf, rename
+# the file to a result of that + .pdf and optionally compress with gzip or bzip2
pdfs_to_test = [
"http://darcs.kowalczyk.info/testpdfs/293bcd6b00e006d66fdc62ea436508f3ebb30219.pdf.gz"