tests.texlive.context: check that the PDF has been created
This commit is contained in:
parent
7ab4733846
commit
87216540ef
1 changed files with 8 additions and 0 deletions
|
@ -81,6 +81,14 @@ rec {
|
|||
name = "texlive-test-context";
|
||||
format = "context";
|
||||
texLive = texliveConTeXt;
|
||||
# check that the PDF has been created: we have hit cases of context
|
||||
# failing with exit status 0 due to a misconfigured texlive
|
||||
postTest = ''
|
||||
if [[ ! -f "$name".pdf ]] ; then
|
||||
echo "ConTeXt test failed: file '$name.pdf' not found"
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
text = ''
|
||||
\starttext
|
||||
\startsection[title={ConTeXt test document}]
|
||||
|
|
Loading…
Reference in a new issue