]> git.cworth.org Git - apitrace-tests/blobdiff - trim_stress/README.markdown
Merge branch 'trim-auto'
[apitrace-tests] / trim_stress / README.markdown
diff --git a/trim_stress/README.markdown b/trim_stress/README.markdown
new file mode 100644 (file)
index 0000000..adab8dc
--- /dev/null
@@ -0,0 +1,19 @@
+This directory performs stress testing of "apitrace trim".
+
+For each trace file in this directory the trim_stress.py test driver
+will perform the following operations:
+
+Given <program>.trace:
+
+    1. Generate snapshots of original trace in ./<program>-ref/
+
+    2. For each frame of the trace:
+
+        1. Use "apitrace trim" to trim <program>.trace to a
+           single-frame trace in <program>-trim.trace
+
+       2. Generate a snapshot of the trimmed trace to
+          ./<program>-out/<frame>.png
+
+    3. Use "apitrace diff-images" to compare all snapshots in
+       ./<program>-out with those in ./<program>-ref