1 # Make a directory for the output images
5 # Generate images for every frame (only 1) of a trace
7 apitrace dump-images --call-nos=no -o ./tri-out/tri tri.trace
9 # Compare the result of "apitrace dump-images" with our reference
11 apitrace diff-images -v ./tri-ref ./tri-out
13 # Ensure that the "apitrace diff-images" actually did something. This
14 # is important since if it couldn't find images in one directory or
15 # the other then it would just silently return 0 and this test would
18 expect "Comparing ./tri-ref/tri0000000000.png and ./tri-out/tri0000000000.png ... MATCH\n"