render-test: Render to PDF only if --pdf specified on command line.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 15 Nov 2013 00:41:32 +0000 (16:41 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 15 Nov 2013 00:41:32 +0000 (16:41 -0800)
commitad9cdafa0bf554a921cc4db09dd8437b67baa0ca
tree38454f4a22f6ed97e4915b3b11766df678945b59
parent3590f7d32ed533cca61689449c9dc22a3027e03c
render-test: Render to PDF only if --pdf specified on command line.

Difference in font metrics on Guix lead to errors trying to render to PDF
in some tests.  The tests don't actually check anything in the PDF output
so we might as well just leave that for manual testing.  Adding an option
accomplishes that well enough.

Reported by Andreas Enge.
Root caused discovered by John Darrington.
Bug #40213.
tests/output/render-test.c