forked from mirrors/nixpkgs
ocamlPackages.fiat-p256: fix tests with alcotest 1.4.0
This commit is contained in:
parent
11c24ba9b3
commit
2d1f4d4dab
|
@ -12,6 +12,12 @@ buildDunePackage rec {
|
|||
sha256 = "0086h9qkvnqfm8acrxqbki54z619nj73x7f0d01v5vg2naznx7w9";
|
||||
};
|
||||
|
||||
# Make tests compatible with alcotest 1.4.0
|
||||
postPatch = ''
|
||||
substituteInPlace test/wycheproof/test.ml --replace \
|
||||
'Printf.ksprintf Alcotest.fail' 'Printf.ksprintf (fun s -> Alcotest.fail s)'
|
||||
'';
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ bigarray-compat cstruct eqaf hex ];
|
||||
checkInputs = [ alcotest asn1-combinators benchmark
|
||||
|
|
Loading…
Reference in a new issue