]> git.cworth.org Git - apitrace-tests/blobdiff - cli/cli-diff-images.script
Merge branch 'trim-auto'
[apitrace-tests] / cli / cli-diff-images.script
diff --git a/cli/cli-diff-images.script b/cli/cli-diff-images.script
new file mode 100644 (file)
index 0000000..27327d4
--- /dev/null
@@ -0,0 +1,8 @@
+apitrace diff-images --verbose images/white-1x1/ images/white-1x1/
+
+# Ensure that the "apitrace diff-images" actually did something.  This
+# is important since if it couldn't find images in one directory or
+# the other then it would just silently return 0 and this test would
+# incorrectly pass.
+
+expect "Comparing images/white-1x1/0.png and images/white-1x1/0.png ... MATCH\n"