projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05bd4dd
)
dev-lang/ocaml: add tests support
author
Alexis Ballier
<aballier@gentoo.org>
Thu, 3 Mar 2016 10:58:01 +0000
(11:58 +0100)
committer
Alexis Ballier
<aballier@gentoo.org>
Thu, 3 Mar 2016 10:58:10 +0000
(11:58 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild
patch
|
blob
|
history
diff --git
a/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild
b/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild
index 80342654783102211ba4f4a45b120e2d6d44f616..0aea93c39f97b7d0d806b1a3fa62c4d895bae177 100644
(file)
--- a/
dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild
+++ b/
dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild
@@
-91,6
+91,14
@@
src_compile() {
fi
}
+src_test() {
+ if use ocamlopt ; then
+ emake -j1 tests
+ else
+ ewarn "${PN} testsuite requires ocamlopt useflag"
+ fi
+}
+
src_install() {
emake BINDIR="${ED}"/usr/bin \
LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \