ghostscript: add passthru.tests.test-corpus-render
this simply attempts rendering every ps/eps/pdf file in the ghostscript test corpus (cherry picked from commit 57692f6d3e48766a7c50fa00f6157ece953595ca)
This commit is contained in:
committed by
github-actions[bot]
parent
4c43ed426c
commit
bf76456a65
@@ -1,6 +1,6 @@
|
||||
{ config, stdenv, lib, fetchurl, pkg-config, zlib, expat, openssl, autoconf
|
||||
, libjpeg, libpng, libtiff, freetype, fontconfig, libpaper, jbig2dec
|
||||
, libiconv, ijs, lcms2, fetchpatch
|
||||
, libiconv, ijs, lcms2, fetchpatch, callPackage
|
||||
, cupsSupport ? config.ghostscript.cups or (!stdenv.isDarwin), cups ? null
|
||||
, x11Support ? cupsSupport, xlibsWrapper ? null # with CUPS, X11 only adds very little
|
||||
}:
|
||||
@@ -119,6 +119,8 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
passthru.tests.test-corpus-render = callPackage ./test-corpus-render.nix {};
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.ghostscript.com/";
|
||||
description = "PostScript interpreter (mainline version)";
|
||||
|
||||
Reference in New Issue
Block a user