diff options
author | apfelkuchen06 <apfelkuchen@hrnz.li> | 2023-03-22 02:52:50 +0100 |
---|---|---|
committer | Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> | 2024-01-27 09:32:20 +0000 |
commit | 2e2b6d13e2eb585c91329683cedc142c09780e2e (patch) | |
tree | 1993dcf01dec0d997514fce5500c683ee32251d5 /pkgs/test/texlive | |
parent | 00b8da65bbf22ab7fd57b9d760e14e839302f361 (diff) |
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>
Diffstat (limited to 'pkgs/test/texlive')
-rw-r--r-- | pkgs/test/texlive/default.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix index 12fdd5c45f8b1..acf806f9e0b08 100644 --- a/pkgs/test/texlive/default.nix +++ b/pkgs/test/texlive/default.nix @@ -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" { |