]> git.cworth.org Git - apitrace-tests/blobdiff - cli/cli-diff-images-mismatch.script
Add a test that "apitrace diff-images" flags mismatching images.
[apitrace-tests] / cli / cli-diff-images-mismatch.script
diff --git a/cli/cli-diff-images-mismatch.script b/cli/cli-diff-images-mismatch.script
new file mode 100644 (file)
index 0000000..9c97fa3
--- /dev/null
@@ -0,0 +1,4 @@
+rm_and_mkdir ./tri-out
+apitrace dump-images -o ./tri-out/tri tri.trace
+EXPECT_FAILURE: apitrace diff-images -v ./tri-ref-mismatch ./tri-out
+expect "Comparing ./tri-ref-mismatch/tri0000000027.png and ./tri-out/tri0000000027.png ... MISMATCH\n"