X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=trim_stress%2FREADME.markdown;fp=trim_stress%2FREADME.markdown;h=5678ceb807d570ed5cf5e2c2b09e02790e4116e1;hp=adab8dcb1b74117d924ba2e7d004633a8a6f2385;hb=d9b3a939cfe3e981c2d936ff3c9e788b0e571419;hpb=2234d55c7f6c9309d12c3a2a948a1b7f0e94b81a diff --git a/trim_stress/README.markdown b/trim_stress/README.markdown index adab8dc..5678ceb 100644 --- a/trim_stress/README.markdown +++ b/trim_stress/README.markdown @@ -5,15 +5,22 @@ will perform the following operations: Given .trace: - 1. Generate snapshots of original trace in ./-ref/ + 1. Generate snapshots of original trace in ./-ref/, (this + step is skipped if the -ref directory already exists. + Simply delete this directory before "make test" to force new + generation of reference images. 2. For each frame of the trace: 1. Use "apitrace trim" to trim .trace to a single-frame trace in -trim.trace - 2. Generate a snapshot of the trimmed trace to - ./-out/.png + 2. Generate a snapshot of the trimmed frame to + ./-tmp-out/.png - 3. Use "apitrace diff-images" to compare all snapshots in - ./-out with those in ./-ref + 3. Use "apitrace diff-images" to compare this one frame with + the corresponding reference image in ./-ref. If + the images differ the entire process is interrupted here. + + 4. Move the frame snapshot from ./-tmp-out to + ./-out