Commit 0aaaa3e8 authored by John Ellson's avatar John Ellson

fix diffimg test code

parent 751811a5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment