diff options
author | Marc Joliet <marcec@gmx.de> | 2015-12-22 11:40:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-12-12 17:27:22 +0100 |
commit | 73fc57a269d214d407ead759f4a2201ec44819b9 (patch) | |
tree | 17f33317d14461f07719d863dcdb8244a47a0023 | |
parent | sys-apps/man-pages: mark 4.08 arm64/m68k/s390/sh stable (diff) | |
download | gentoo-73fc57a269d214d407ead759f4a2201ec44819b9.tar.gz gentoo-73fc57a269d214d407ead759f4a2201ec44819b9.tar.bz2 gentoo-73fc57a269d214d407ead759f4a2201ec44819b9.zip |
app-text/asciidoc: rework to not need "cd tests"
Package-Manager: portage-2.2.24
Signed-off-by: Marc Joliet <marcec@gmx.de>
-rw-r--r-- | app-text/asciidoc/asciidoc-8.6.9-r3.ebuild | 7 | ||||
-rw-r--r-- | app-text/asciidoc/asciidoc-9999.ebuild | 9 |
2 files changed, 7 insertions, 9 deletions
diff --git a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild index 6a5304d3309a..45e52b73a039 100644 --- a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild +++ b/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild @@ -70,10 +70,9 @@ src_install() { } src_test() { - cd tests || die - local -x ASCIIDOC_PY=../asciidoc.py - "${PYTHON}" test${PN}.py update || die - "${PYTHON}" test${PN}.py run || die + local -x ASCIIDOC_PY=asciidoc.py + "${PYTHON}" tests/test${PN}.py update || die + "${PYTHON}" tests/test${PN}.py run || die } pkg_postinst() { diff --git a/app-text/asciidoc/asciidoc-9999.ebuild b/app-text/asciidoc/asciidoc-9999.ebuild index 27a930e58f13..fe9947628208 100644 --- a/app-text/asciidoc/asciidoc-9999.ebuild +++ b/app-text/asciidoc/asciidoc-9999.ebuild @@ -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$ @@ -98,8 +98,7 @@ src_install() { } src_test() { - cd tests || die - local -x ASCIIDOC_PY=../asciidoc.py - "${PYTHON}" test${PN}.py update || die - "${PYTHON}" test${PN}.py run || die + local -x ASCIIDOC_PY=asciidoc.py + "${PYTHON}" tests/test${PN}.py update || die + "${PYTHON}" tests/test${PN}.py run || die } |