GNU bug report logs -
#47768
[PATCH 00/37] Assorted OCaml patches
Previous Next
Reported by: pukkamustard <pukkamustard <at> posteo.net>
Date: Wed, 14 Apr 2021 09:10:02 UTC
Severity: normal
Tags: patch
Done: Julien Lepiller <julien <at> lepiller.eu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Maxime Devos <maximedevos <at> telenet.be> writes:
>> -(define-public ocaml4.07-gen
>> +(define-public ocaml-gen
>> [...]
>> `(#:tests? #f; no tests
>> - #:package "gen"
>> - #:ocaml ,ocaml-4.07
>> - #:findlib ,ocaml4.07-findlib
>> - #:dune ,ocaml4.07-dune))
>> + #:package "gen"))
>> (propagated-inputs
>> - `(("ocaml-odoc" ,(package-with-ocaml4.07
>> ocaml4.07-odoc))))
>> + `(("ocaml-odoc" ,ocaml-odoc)))
>> (native-inputs
>> - `(("ocaml-qtest" ,(package-with-ocaml4.07 ocaml-qtest))
>> - ("ocaml-qcheck" ,(package-with-ocaml4.07
>> ocaml-qcheck))))
>> + `(("ocaml-qtest" ,ocaml-qtest)
>> + ("ocaml-qcheck" ,ocaml-qcheck)))
>
> I'm confused what's going on here.
> ocaml-qtest is for unit tests
> (https://opam.ocaml.org/packages/qtest/qtest.2.1.0/),
> but for this package we have ‘#:tests? #f; no tests?’?
Excellent catch! There are in fact tests and they also pass.
Please find
attached updated patch that enables tests (I can also resend the
entire
patch series as v2 if that is easier).
The `#tests? #f` was introduced with commit
5a4003f453ee8afdfe21d959e105250bfc876063 in 2019 and I blindly
copied it.
-pukkamustard
[0001-gnu-Add-ocaml-gen.patch (text/x-patch, attachment)]
This bug report was last modified 3 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.