From: John Ellson Date: Sun, 10 Jul 2016 10:28:01 +0000 (-0400) Subject: fix diffimg test code X-Git-Tag: untagged-64c3562a21c18efca077 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0aaaa3e8f849ec99afdee4957f389f32cb6aa112;p=graphviz fix diffimg test code --- diff --git a/contrib/diffimg/Makefile.am b/contrib/diffimg/Makefile.am index 213b179d8..02b1c044e 100644 --- a/contrib/diffimg/Makefile.am +++ b/contrib/diffimg/Makefile.am @@ -24,10 +24,10 @@ diffimg.1.pdf: $(srcdir)/diffimg.1 GRAPH = "digraph G { hello -> world }" test: diffimg - echo $(GRAPH) | dot -Tpng:cg >hello1.png - echo $(GRAPH) | dot -Tpng:cg >hello2.png + echo $(GRAPH) | dot -Tpng >hello1.png + echo $(GRAPH) | dot -Tpng >hello2.png if `./diffimg hello1.png hello2.png >test1.png`;then echo same;else echo different;fi - echo $(GRAPH) | dot -Grankdir=LR -Tpng:cg >hello2.png + echo $(GRAPH) | dot -Grankdir=LR -Tpng >hello2.png if `./diffimg hello1.png hello2.png >test2.png`;then echo same;else echo different;fi CLEANFILES = *.png