[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/96] gnu: Add ocaml-qtest
From: |
Julien Lepiller |
Subject: |
[PATCH 13/96] gnu: Add ocaml-qtest |
Date: |
Tue, 3 Jan 2017 20:10:54 +0100 |
* gnu/packages/ocaml.scm (ocaml-qtest): New variable.
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4289e5336..7c3945884 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -881,3 +881,32 @@ The result is a syntactic tree easy to process with usual
OCAML tree management.
It provides support for ANSI C syntax, old-C K&R style syntax and the standard
GNU CC attributes. It provides also a C pretty printer as an example of use.")
(license license:lgpl2.1)))
+
+(define-public ocaml-qtest
+ (package
+ (name "ocaml-qtest")
+ (version "2.3")
+ (home-page "https://github.com/vincent-hugot/iTeML")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/vincent-hugot/iTeML/"
+ "archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n7x5l6h4j44f75wzgzjsjkq349i4gj707w1hr7fx84igxxfr6vl"))))
+ (build-system ocaml-build-system)
+ (native-inputs `(("findlib" ,ocaml-findlib)))
+ (propagated-inputs `(("ounit" ,ocaml-ounit)))
+ (arguments
+ `(#:tests? #f; no test target
+ #:make-flags
+ (list (string-append "BIN=" (assoc-ref %outputs "out") "/bin"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (synopsis "Inline (Unit) Tests for OCaml")
+ (description "Qtest extracts inline unit tests written using a special
+syntax in comments. Those tests are then run using the oUnit framework and the
+qcheck library. The possibilities range from trivial tests -- extremely simple
+to use -- to sophisticated random generation of test cases.")
+ (license license:lgpl3+)))
--
2.11.0
[PATCH 09/96] gnu: Add camlzip, Julien Lepiller, 2017/01/03
[PATCH 11/96] gnu: Add ocaml-zarith., Julien Lepiller, 2017/01/03
[PATCH 12/96] gnu: Add ocaml-frontc, Julien Lepiller, 2017/01/03
[PATCH 13/96] gnu: Add ocaml-qtest,
Julien Lepiller <=
[PATCH 14/96] gnu: Add ocaml-stringext, Julien Lepiller, 2017/01/03
[PATCH 15/96] gnu: Add ocaml-bisect, Julien Lepiller, 2017/01/03
[PATCH 17/96] gnu: Add ocaml-result, Julien Lepiller, 2017/01/03
[PATCH 16/96] gnu: Add ocaml-bitstring, Julien Lepiller, 2017/01/03
[PATCH 18/96] gnu: Add ocaml-topkg, Julien Lepiller, 2017/01/03
[PATCH 19/96] gnu: Add ocaml-rresult, Julien Lepiller, 2017/01/03
[PATCH 20/96] gnu: Add ocaml-mtime, Julien Lepiller, 2017/01/03
[PATCH 21/96] gnu: Add ocaml-cmdliner, Julien Lepiller, 2017/01/03
[PATCH 22/96] gnu: Add ocaml-fmt, Julien Lepiller, 2017/01/03
[PATCH 23/96] gnu: Add ocaml-astring, Julien Lepiller, 2017/01/03