From 9cee1292597eca5166b5eb6867c825040bd31061 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 24 Oct 2011 23:27:58 -0700 Subject: [PATCH] tests/emerge: test pkg_config and pkg_info --- pym/portage/tests/emerge/test_simple.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/emerge/test_simple.py index 9b5656eae..c2c57a389 100644 --- a/pym/portage/tests/emerge/test_simple.py +++ b/pym/portage/tests/emerge/test_simple.py @@ -48,6 +48,15 @@ src_install() { echo "blah blah blah" > ${latin_1_dir}/latin-1-$(printf "\\xa9")-regular-file || die ln -s latin-1-$(printf "\\xa9")-regular-file ${latin_1_dir}/latin-1-$(printf "\\xa9")-symlink || die } + +pkg_config() { + einfo "called pkg_config for $CATEGORY/$PF" +} + +pkg_info() { + einfo "called pkg_info for $CATEGORY/$PF" +} + """ ebuilds = { @@ -194,6 +203,8 @@ src_install() { emerge_cmd + ("--oneshot", "--usepkg", "dev-libs/B",), emerge_cmd + ("--oneshot", "dev-libs/A",), emerge_cmd + ("--noreplace", "dev-libs/A",), + emerge_cmd + ("--config", "dev-libs/A",), + emerge_cmd + ("--info", "dev-libs/A", "dev-libs/B"), emerge_cmd + ("--pretend", "--depclean", "--verbose", "dev-libs/B"), emerge_cmd + ("--pretend", "--depclean",), emerge_cmd + ("--depclean",), -- 2.26.2