From 38e2d64f31d91edc2823edb874a968bbbe866c97 Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Fri, 28 Mar 2008 06:04:23 +0100 Subject: Add a note about expected format of test pdf file names --- test/benchpdfs.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/benchpdfs.py') 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" -- cgit v1.2.3