ocamlPackages.tcpip: fix tests with alcotest 1.4.0
This commit is contained in:
parent
2d1f4d4dab
commit
14a2f48bf2
@ -26,6 +26,14 @@ buildDunePackage rec {
|
||||
./makefile-no-opam.patch
|
||||
];
|
||||
|
||||
# Make tests compatible with alcotest 1.4.0
|
||||
postPatch = ''
|
||||
for p in common.ml test_tcp_options.ml
|
||||
do
|
||||
substituteInPlace test/$p --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
bisect_ppx
|
||||
ppx_cstruct
|
||||
|
Loading…
Reference in New Issue
Block a user