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=adab8dcb1b74117d924ba2e7d004633a8a6f2385;hp=0000000000000000000000000000000000000000;hb=5efeef24814e1744e3c4f3109f82e700576439ab;hpb=0ba9c4e22bc917a666b8762b734884e72c142ccf diff --git a/trim_stress/README.markdown b/trim_stress/README.markdown new file mode 100644 index 0000000..adab8dc --- /dev/null +++ b/trim_stress/README.markdown @@ -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 .trace: + + 1. Generate snapshots of original trace in ./-ref/ + + 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 + + 3. Use "apitrace diff-images" to compare all snapshots in + ./-out with those in ./-ref