mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
tests.texlive.context: check that the PDF has been created
This commit is contained in:
parent
7ab4733846
commit
87216540ef
|
@ -81,6 +81,14 @@ rec {
|
||||||
name = "texlive-test-context";
|
name = "texlive-test-context";
|
||||||
format = "context";
|
format = "context";
|
||||||
texLive = texliveConTeXt;
|
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 = ''
|
text = ''
|
||||||
\starttext
|
\starttext
|
||||||
\startsection[title={ConTeXt test document}]
|
\startsection[title={ConTeXt test document}]
|
||||||
|
|
Loading…
Reference in a new issue