Follow-up Comment #63, bug #63808 (project groff):
I think a see a way now to produce gropdf tests that can be skipped depending
on parameters determined at configuration time.
We can use the _existing_ AC_SUBSTed "$GHOSTSCRIPT" and "$urwfontsdir" shell
variables to generate the two test scripts from .in files with the usual
sed-based @REPLACEMENT@ trick, and perform tests upon these variables.
So check-default-foundry.sh would do something like this:
if [ "$GHOSTSCRIPT" = no ] || [ "$GHOSTSCRIPT" = missing ]
then
exit 77
fi
...and check-urw-foundry.sh something like this:
if [ -z "$urwfontsdir" ]
then
exit 77
fi
I'll throw in messages about why skipping is happening, of course.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63808>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/