* [gentoo-portage-dev] src_test cleanup
@ 2007-10-30 17:36 Marijn Schouten (hkBst)
0 siblings, 0 replies; only message in thread
From: Marijn Schouten (hkBst) @ 2007-10-30 17:36 UTC (permalink / raw
To: gentoo-portage-dev
-----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-----
--
gentoo-portage-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-30 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 17:36 [gentoo-portage-dev] src_test cleanup Marijn Schouten (hkBst)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox