diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-09 10:20:00 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-09 10:20:00 +0200 |
commit | 2cb38bc42a2d5cea1a1fa428916aa0c0641d145f (patch) | |
tree | 37f99ad1d084dd0ba8a2183f0715f8893bdd051a /dev-ml/zarith | |
parent | dev-ml/cryptokit: tests require ocamlopt, bug #624294 (diff) | |
download | gentoo-2cb38bc42a2d5cea1a1fa428916aa0c0641d145f.tar.gz gentoo-2cb38bc42a2d5cea1a1fa428916aa0c0641d145f.tar.bz2 gentoo-2cb38bc42a2d5cea1a1fa428916aa0c0641d145f.zip |
dev-ml/zarith: Skip tests when not building native code, they require it. Bug #624292
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r-- | dev-ml/zarith/zarith-1.5.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/zarith/zarith-1.5.ebuild b/dev-ml/zarith/zarith-1.5.ebuild index fcb766936ac4..25bf4fad3701 100644 --- a/dev-ml/zarith/zarith-1.5.ebuild +++ b/dev-ml/zarith/zarith-1.5.ebuild @@ -37,7 +37,11 @@ src_compile() { } src_test() { - emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests + if use ocamlopt ; then + emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests + else + ewarn "Tests require USE=ocamlopt. Skipping them." + fi } src_install() { |