summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-07-07 13:23:00 -0700
committerZac Medico <zmedico@gentoo.org>2013-07-07 13:23:00 -0700
commit3d91f92b653b0583f710abcc40c8ebfe4af868e8 (patch)
treede8e520846abe676a4d2757936e383e8a446d7da
parentdoebuild: support 'nofetch' phase (diff)
downloadportage-3d91f92b653b0583f710abcc40c8ebfe4af868e8.tar.gz
portage-3d91f92b653b0583f710abcc40c8ebfe4af868e8.tar.bz2
portage-3d91f92b653b0583f710abcc40c8ebfe4af868e8.zip
test_doebuild_fd_pipes: test pkg_info
-rw-r--r--pym/portage/tests/ebuild/test_doebuild_fd_pipes.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py b/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py
index 6fdda5fea..f0fc93373 100644
--- a/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py
+++ b/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py
@@ -33,6 +33,7 @@ class DoebuildFdPipesTestCase(TestCase):
ebuild_body = textwrap.dedent("""
S=${WORKDIR}
+ pkg_info() { echo info ; }
pkg_nofetch() { echo nofetch ; }
pkg_pretend() { echo pretend ; }
pkg_setup() { echo setup ; }
@@ -78,8 +79,9 @@ class DoebuildFdPipesTestCase(TestCase):
ebuildpath = portdb.findname(cpv)
self.assertNotEqual(ebuildpath, None)
- for phase in ('pretend', 'setup', 'unpack', 'prepare', 'configure',
- 'compile', 'test', 'install', 'clean', 'merge', 'nofetch'):
+ for phase in ('info', 'nofetch',
+ 'pretend', 'setup', 'unpack', 'prepare', 'configure',
+ 'compile', 'test', 'install', 'clean', 'merge'):
pr, pw = os.pipe()