-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The following patch was also on gentoo-dev before. It eliminates some dead
code paths from default src_test and in the process eliminates references to
FEATURES which is good for allowing ebuild.sh to be shared with other package
managers.

Marijn

diff -uw /usr/lib64/portage/bin/ebuild.sh ~/ebuild.sh
@@ -709,16 +666,10 @@
 src_test() {
        if emake -j1 check -n &> /dev/null; then
                vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
- -               if ! emake -j1 check; then
- -                       hasq test $FEATURES && die "Make check failed. See
above for details."
- -                       hasq test $FEATURES || eerror "Make check failed. See
above for details."
- -               fi
+        emake -j1 check || die "Make check failed. See above for details."
        elif emake -j1 test -n &> /dev/null; then
                vecho ">>> Test phase [test]: ${CATEGORY}/${PF}"
- -               if ! emake -j1 test; then
- -                       hasq test $FEATURES && die "Make test failed. See
above for details."
- -                       hasq test $FEATURES || eerror "Make test failed. See
above for details."
- -               fi
+        emake -j1 test || die "Make test failed. See above for details."
        else
                vecho ">>> Test phase [none]: ${CATEGORY}/${PF}"
        fi

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJ2usp/VmCx0OL2wRArFMAKC7kPj/i9pxUNOM3nsG99qzIFP9AQCfepvh
HmpExOB6pc4ZZFlxOFC3G1I=
=eboG
-----END PGP SIGNATURE-----
-- 
[EMAIL PROTECTED] mailing list

Reply via email to