]> git.cworth.org Git - apitrace-tests/blobdiff - cli/cli-trim-single-swapbuffers.script
Be more lenient with shader matching.
[apitrace-tests] / cli / cli-trim-single-swapbuffers.script
index 19e10a8f67e5c851b3ed18d2646b3567732706dc..e653d49f3e5058eb0e514c23cc36e2342d9387ce 100644 (file)
@@ -1,15 +1,15 @@
 # First, trim the trace to the final glxSwapBuffers call
 
-apitrace trim --calls=27 tri.trace
+apitrace trim --auto --calls=27 tri.trace
 
 # Then dump the image and compare to our reference
 
 rm_and_mkdir ./tri-out
-apitrace dump-images -o ./tri-out/tri tri-trim.trace
+apitrace dump-images --call-nos=no -o ./tri-out/tri tri-trim.trace
 apitrace diff-images -v ./tri-ref ./tri-out
 
 # In addition to getting the return value indicating no error, let's
 # also require that "apitrace diff-images" gave us the output we
 # expect.
 
-expect "Comparing ./tri-ref/tri0000000027.png and ./tri-out/tri0000000027.png ... MATCH\n"
+expect "Comparing ./tri-ref/tri0000000000.png and ./tri-out/tri0000000000.png ... MATCH\n"