X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=cli%2Fcli-trim-single-swapbuffers.script;h=e653d49f3e5058eb0e514c23cc36e2342d9387ce;hp=19e10a8f67e5c851b3ed18d2646b3567732706dc;hb=8351c1e187d8f65477db05a07bacd5d184c2b950;hpb=51faf78eaf0d373f8a7d680a145855e98946e508 diff --git a/cli/cli-trim-single-swapbuffers.script b/cli/cli-trim-single-swapbuffers.script index 19e10a8..e653d49 100644 --- a/cli/cli-trim-single-swapbuffers.script +++ b/cli/cli-trim-single-swapbuffers.script @@ -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"