diff options
author | Hanno Böck <hanno@gentoo.org> | 2020-05-04 11:00:28 +0200 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2020-05-04 11:00:28 +0200 |
commit | 803cdc3720ca506b1e7f737d7b20d33b3b5e0495 (patch) | |
tree | 7e195c207e6784c58b9e2aa74ca49957187e1f97 /eclass | |
parent | dev-python/pycurl: Skip telnet tests if curl[-telnet] (diff) | |
download | gentoo-803cdc3720ca506b1e7f737d7b20d33b3b5e0495.tar.gz gentoo-803cdc3720ca506b1e7f737d7b20d33b3b5e0495.tar.bz2 gentoo-803cdc3720ca506b1e7f737d7b20d33b3b5e0495.zip |
rebar.eclass: Run tests with newly compiled library.
Closes: https://bugs.gentoo.org/720448
Signed-off-by: Hanno Böck <hanno@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/rebar.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass index 92dd16b08fbf..8f08f7a5da7b 100644 --- a/eclass/rebar.eclass +++ b/eclass/rebar.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: rebar.eclass @@ -105,6 +105,8 @@ erebar() { (( $# > 0 )) || die "erebar: at least one target is required" local -x ERL_LIBS="${EPREFIX}$(get_erl_libs)" + [[ ${1} == eunit ]] && local -x ERL_LIBS="." + rebar -v skip_deps=true "$@" || die -n "rebar $@ failed" } |