tests/texlive: add a context test
Since context now uses the luametatex engine, which is not distributed with texlive, the probability of breaking it when updating increases. Let's add a simple test just in case. Co-authored-by: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com>
This commit is contained in:
parent
00b8da65bb
commit
2e2b6d13e2
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, buildEnv, runCommand, fetchurl, file, texlive, writeShellScript, writeText, texliveInfraOnly, texliveSmall, texliveMedium, texliveFull }:
|
||||
{ lib, stdenv, buildEnv, runCommand, fetchurl, file, texlive, writeShellScript, writeText, texliveInfraOnly, texliveConTeXt, texliveSmall, texliveMedium, texliveFull }:
|
||||
|
||||
rec {
|
||||
|
||||
@ -74,6 +74,19 @@ rec {
|
||||
grep "One warning printed" "$out"
|
||||
'';
|
||||
|
||||
context = mkTeXTest {
|
||||
name = "texlive-test-context";
|
||||
format = "context";
|
||||
texLive = texliveConTeXt;
|
||||
text = ''
|
||||
\starttext
|
||||
\startsection[title={ConTeXt test document}]
|
||||
This is an {\em incredibly} simple ConTeXt document.
|
||||
\stopsection
|
||||
\stoptext
|
||||
'';
|
||||
};
|
||||
|
||||
dvipng = lib.recurseIntoAttrs {
|
||||
# https://github.com/NixOS/nixpkgs/issues/75605
|
||||
basic = runCommand "texlive-test-dvipng-basic" {
|
||||
|
Loading…
Reference in New Issue
Block a user