| 1 |
README for toolbin/search |
| 2 |
|
| 3 |
Scripts for searching gs revision |
| 4 |
Typically the goal is to find a revision that either changed the checksum of an image, or changed an image in a "significant" way. |
| 5 |
|
| 6 |
|
| 7 |
run.py for one revision, one device tuple, one testfile |
| 8 |
supports pdfwrite |
| 9 |
"standard directories": |
| 10 |
/home/regression/comparefiles |
| 11 |
pnm/ for output files |
| 12 |
pdf/ for pdfwrite output files |
| 13 |
logs/ for log files |
| 14 |
normal: |
| 15 |
calculate checksum and delete the output file, |
| 16 |
capture output in logs/<long file name>, E.g. logs/000-00.ps.7800.ppmraw.300.0.pnm.stderr |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
runlist.py |
| 21 |
for {range of revisions on one testfile, a list of testfiles on one revision, a range of revisions on a list of testfiles} |
| 22 |
only one device tuple |
| 23 |
|
| 24 |
common use: |
| 25 |
nice runlist.py --low=7437 --high=7806 --listfile=<listfile> --dochecksum --cleanup |
| 26 |
<listfile> would be a list of testfiles, with support for # as comment character |
| 27 |
|
| 28 |
TO DO: |
| 29 |
in run.py change to use stdin for all testfiles, since a few require it 119* -- DONE |
| 30 |
|
| 31 |
allow control of device tuples, including support for pdfwrite |
| 32 |
|
| 33 |
collect elapsed time (use exec* procedures) and output file size |