Merged from trunk -r14884:14886
authorFabian Groffen <grobian@gentoo.org>
Thu, 26 Nov 2009 14:06:35 +0000 (14:06 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 26 Nov 2009 14:06:35 +0000 (14:06 -0000)
   | 14885   | Use einfo instead of ewarn for the "Skipping make test/check |
   | zmedico | due to ebuild restriction." message.                         |

   | 14886   | Set built=True when creating Package instances. This fixes a |
   | zmedico | problem with --resume, reported by Sebastian Mingramm (few). |

svn path=/main/branches/prefix/; revision=14895

bin/ebuild.sh
pym/_emerge/FakeVartree.py

index d2e87954754f690e289f941b614170373a52540d..13fe2c4b131a60556560f78e04f6b136236c8689 100755 (executable)
@@ -1003,7 +1003,7 @@ dyn_test() {
        if ! hasq test $FEATURES && [ "${EBUILD_FORCE_TEST}" != "1" ]; then
                vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}"
        elif hasq test $RESTRICT; then
-               ewarn "Skipping make test/check due to ebuild restriction."
+               einfo "Skipping make test/check due to ebuild restriction."
                vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}"
        else
                local save_sp=${SANDBOX_PREDICT}
index e1b81980959f8435ec7801e29a1bfd301c91d44a..3a9d5d639110617445a0e534fa60556b59305f08 100644 (file)
@@ -158,7 +158,7 @@ class FakeVartree(portage.vartree):
        def _pkg(self, cpv):
                root_config = self._root_config
                real_vardb = root_config.trees["vartree"].dbapi
-               pkg = Package(cpv=cpv, installed=True,
+               pkg = Package(cpv=cpv, built=True, installed=True,
                        metadata=zip(self._db_keys,
                        real_vardb.aux_get(cpv, self._db_keys)),
                        root_config=root_config,