]> git.cworth.org Git - apitrace-tests/blob - trim_stress/README.markdown
Add stress tests from "apitrace trim".
[apitrace-tests] / trim_stress / README.markdown
1 This directory performs stress testing of "apitrace trim".
2
3 For each trace file in this directory the trim_stress.py test driver
4 will perform the following operations:
5
6 Given <program>.trace:
7
8     1. Generate snapshots of original trace in ./<program>-ref/
9
10     2. For each frame of the trace:
11
12         1. Use "apitrace trim" to trim <program>.trace to a
13            single-frame trace in <program>-trim.trace
14
15         2. Generate a snapshot of the trimmed trace to
16            ./<program>-out/<frame>.png
17
18     3. Use "apitrace diff-images" to compare all snapshots in
19        ./<program>-out with those in ./<program>-ref