File: README

package info (click to toggle)
ghostscript 9.06~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 60,732 kB
  • sloc: ansic: 439,964; python: 4,915; cpp: 3,565; sh: 2,520; tcl: 1,482; perl: 1,374; makefile: 421; lisp: 407; awk: 66; yacc: 18
file content (33 lines) | stat: -rw-r--r-- 1,124 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
README for toolbin/search

Scripts for searching gs revision
Typically the goal is to find a revision that either changed the checksum of an image, or changed an image in a "significant" way.


run.py for one revision, one device tuple, one testfile
	supports pdfwrite
	"standard directories":
		/home/regression/comparefiles
		pnm/ for output files
		pdf/ for pdfwrite output files
		logs/ for log files
	normal: 
		calculate checksum and delete the output file, 
		capture output in logs/<long file name>, E.g. logs/000-00.ps.7800.ppmraw.300.0.pnm.stderr



runlist.py
	for {range of revisions on one testfile, a list of testfiles on one revision, a range of revisions on a list of testfiles}
	only one device tuple

common use:
	nice runlist.py --low=7437 --high=7806 --listfile=<listfile> --dochecksum --cleanup
	<listfile> would be a list of testfiles, with support for # as comment character

TO DO:
	in run.py change to use stdin for all testfiles, since a few require it 119* -- DONE

	allow control of device tuples, including support for pdfwrite

	collect elapsed time (use exec* procedures) and output file size