Skip to content

Commit

Permalink
help debugging visual tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erdos committed Nov 15, 2023
1 parent ad0affc commit 1f81cf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/stencil/integration.clj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
diff-output (io/file outdir (str basename ".diff.png"))
compared (shell/sh "compare" "-verbose" "-metric" "AE" "-fuzz" "8%"
(str expected-png) (str png-output) (str diff-output))]
#_
(when-not (zero? (:exit compared))
(shell/sh "montage" (str expected-png) (str png-output) (str diff-output) "-tile" "3x1" "-geometry" "+0+0" "/tmp/elso.png"))
(is (= 0 (:exit compared))
(format "Error comparing, result: %s \n data: %s"
(str pdf-output)
Expand Down

0 comments on commit 1f81cf4

Please sign in to comment.