libffi: Run test suite

main
Zhaofeng Li 2 years ago
parent 7599020b21
commit cb955555df
  1. 1
      pkgs/development/interpreters/python/default.nix
  2. 6
      pkgs/development/libraries/libffi/default.nix
  3. 3
      pkgs/top-level/all-packages.nix

@ -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 { };

Loading…
Cancel
Save