]> granicus.if.org Git - graphviz/commitdiff
One line test case using new -O feature to generate output filenames
authorellson <devnull@localhost>
Tue, 24 Jul 2007 20:49:33 +0000 (20:49 +0000)
committerellson <devnull@localhost>
Tue, 24 Jul 2007 20:49:33 +0000 (20:49 +0000)
generating 31 output formats for each of 51 dot files

graphs/directed/Makefile.am

index a31ea90afa850208b566f179d0602be7387f64b4..c9f7b3f840df8f184f63aea50c92d024dae8bb74 100644 (file)
@@ -20,39 +20,46 @@ EXTRA_DIST = $(GRAPHS)
 CLEANFILES = core *.dot.* *.png .xvpics/* 
 
 test:
-       for i in $(GRAPHS); do \
-               echo "dot $$i"; \
-               $(top_builddir)/cmd/dot/dot \
-                       -Tcanon -o$$i.canon \
-                       -Tcmap -o$$i.cmap \
-                       -Tcmapx -o$$i.cmapx \
-                       -Tdia -o$$i.dia \
-                       -Tdot -o$$i.dot \
-                       -Tfig -o$$i.fig \
-                       -Tgd -o$$i.gd \
-                       -Tgd2 -o$$i.gd2 \
-                       -Tgif -o$$i.gif \
-                       -Thpgl -o$$i.hpgl \
-                       -Tismap -o$$i.ismap \
-                       -Timap -o$$i.imap \
-                       -Tjpg -o$$i.jpg \
-                       -Tmif -o$$i.mif \
-                       -Tmp -o$$i.mp \
-                       -Tpcl -o$$i.pcl \
-                       -Tpic -o$$i.pic \
-                       -Tplain -o$$i.plain \
-                       -Tplain-ext -o$$i.plain-ext \
-                       -Tpng -o$$i.png \
-                       -Tps -o$$i.ps \
-                       -Tps2 -o$$i.ps2 \
-                       -Tsvg -o$$i.svg \
-                       -Tsvgz -o$$i.svgz \
-                       -Twbmp -o$$i.wbmp \
-                       -Tvrml -o$$i.vrml \
-                       -Tvtx -o$$i.vtx \
-                       -Txdot -o$$i.xdot \
-                               $(top_srcdir)/graphs/directed/$$i; \
-       done
+       $(top_builddir)/cmd/dot/dot -Tcanon -Tcmap -Tcmapx \
+               -Tdia -Tdot -Tfig -Tgd -Tgd2 -Tgif -Thpgl \
+               -Tismap -Timap -Tjpg -Tmif -Tmp -Tpcl -Tpdf -Tpic \
+               -Tplain -Tplain-ext -Tpng -Tps -Tps2 -Tps:cairo -Tsvg \
+               -Tsvg:cairo -Tsvgz -Tvrml -Twbmp -Tvtx -Txdot \
+               -O $(GRAPHS) 
+
+#      for i in $(GRAPHS); do \
+#              echo "dot $$i"; \
+#              $(top_builddir)/cmd/dot/dot \
+#                      -Tcanon -o$$i.canon \
+#                      -Tcmap -o$$i.cmap \
+#                      -Tcmapx -o$$i.cmapx \
+#                      -Tdia -o$$i.dia \
+#                      -Tdot -o$$i.dot \
+#                      -Tfig -o$$i.fig \
+#                      -Tgd -o$$i.gd \
+#                      -Tgd2 -o$$i.gd2 \
+#                      -Tgif -o$$i.gif \
+#                      -Thpgl -o$$i.hpgl \
+#                      -Tismap -o$$i.ismap \
+#                      -Timap -o$$i.imap \
+#                      -Tjpg -o$$i.jpg \
+#                      -Tmif -o$$i.mif \
+#                      -Tmp -o$$i.mp \
+#                      -Tpcl -o$$i.pcl \
+#                      -Tpic -o$$i.pic \
+#                      -Tplain -o$$i.plain \
+#                      -Tplain-ext -o$$i.plain-ext \
+#                      -Tpng -o$$i.png \
+#                      -Tps -o$$i.ps \
+#                      -Tps2 -o$$i.ps2 \
+#                      -Tsvg -o$$i.svg \
+#                      -Tsvgz -o$$i.svgz \
+#                      -Twbmp -o$$i.wbmp \
+#                      -Tvrml -o$$i.vrml \
+#                      -Tvtx -o$$i.vtx \
+#                      -Txdot -o$$i.xdot \
+#                              $(top_srcdir)/graphs/directed/$$i; \
+#      done
 
 canon:
        for i in $(GRAPHS); do echo "dot $$i"; \
@@ -61,7 +68,6 @@ canon:
 cmap:
        for i in $(GRAPHS); do echo "dot $$i"; \
                $(top_builddir)/cmd/dot/dot -Tcmap -o$$i.cmap $(top_srcdir)/graphs/directed/$$i; done
-
 cmapx:
        for i in $(GRAPHS); do echo "dot $$i"; \
                $(top_builddir)/cmd/dot/dot -Tcmapx -o$$i.cmapx $(top_srcdir)/graphs/directed/$$i; done