From: "Beau E. Cox" <beaucox@hawaii.rr.com>
To: "Gentoo-perl" <gentoo-perl@lists.gentoo.org>
Subject: [gentoo-perl] make test return code in ebuild
Date: Tue, 10 Jan 2006 18:40:43 -1000 [thread overview]
Message-ID: <200601101840.43420.beaucox@hawaii.rr.com> (raw)
Hi -
I'm developing some ebuild scripts, and came across
a problem. I have enabled tests and when an ebuild
test fails, it is not dieing but going adhead and doing
the install.
In the src_test function, I have:
...
make test || die "test failed"
...
Tried:
make test
rc=$?
einfo "make test returns ${rc}"
[ ${rc} -eq 0 ] || die "test failed"
which displays '0' and continues.
Also tried with '/usr/bin/make test', same problem.
If I 'manually' (not within the portage system) run make test,
a code ($?) of 2 is returned.
Is there some portage magic going on that I don't understand?
--
Aloha => Beau;
--
gentoo-perl@gentoo.org mailing list
reply other threads:[~2006-01-11 4:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601101840.43420.beaucox@hawaii.rr.com \
--to=beaucox@hawaii.rr.com \
--cc=gentoo-perl@gentoo.org \
--cc=gentoo-perl@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox