From: Zac Medico Date: Tue, 25 Oct 2011 06:27:58 +0000 (-0700) Subject: tests/emerge: test pkg_config and pkg_info X-Git-Tag: v2.2.0_alpha72~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cee1292597eca5166b5eb6867c825040bd31061;p=portage.git tests/emerge: test pkg_config and pkg_info --- 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",),