mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-03 11:58:07 -07:00
dev-python/pyasn1-modules: Fix tests
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570742 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -24,9 +24,9 @@ DEPEND="${RDEPEND}
|
||||
python_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
local exit_status=0 test
|
||||
for test in test/*.sh; do
|
||||
PATH="${S}/tools:${PATH}" \
|
||||
echoit sh "${test}" || exit_status=1
|
||||
cd tools || die
|
||||
for test in ../test/*.sh; do
|
||||
echoit sh "${test}" || exit_status=1
|
||||
done
|
||||
return ${exit_status}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user