libffi: Run test suite
This commit is contained in:
@@ -219,6 +219,7 @@ in {
|
||||
sqlite = null;
|
||||
configd = null;
|
||||
tzdata = null;
|
||||
libffi = pkgs.libffiBoot; # without test suite
|
||||
stripConfig = true;
|
||||
stripIdlelib = true;
|
||||
stripTests = true;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch
|
||||
, autoreconfHook
|
||||
|
||||
, doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping
|
||||
, dejagnu
|
||||
}:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
@@ -39,6 +41,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling.
|
||||
|
||||
inherit doCheck;
|
||||
|
||||
checkInputs = [ dejagnu ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A foreign function call interface library";
|
||||
longDescription = ''
|
||||
|
||||
@@ -17805,6 +17805,9 @@ with pkgs;
|
||||
libffcall = callPackage ../development/libraries/libffcall { };
|
||||
|
||||
libffi = callPackage ../development/libraries/libffi { };
|
||||
libffiBoot = libffi.override {
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
libfreeaptx = callPackage ../development/libraries/libfreeaptx { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user