From 3781aa8e85b5f12dde6a3983af09150037e5f624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 28 Jun 2023 23:27:30 +0200 Subject: [PATCH] Don't fail tests when gropdf isn't installed --- test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 52fccaa..831a15e 100755 --- a/test.sh +++ b/test.sh @@ -16,7 +16,10 @@ inkscape --pipe --export-filename=tmp/cairo.pdf --export-pdf-version=1.4 \ Hello EOF -date | tee tmp/lowriter.txt | groff -T pdf > tmp/groff.pdf || : +date > tmp/lowriter.txt +if command -v gropdf >/dev/null +then groff -T pdf < tmp/lowriter.txt > tmp/groff.pdf +fi lowriter --convert-to pdf tmp/lowriter.txt --outdir tmp >/dev/null || : convert rose: tmp/imagemagick.pdf || :