1 |
Hi - |
2 |
|
3 |
I'm developing some ebuild scripts, and came across |
4 |
a problem. I have enabled tests and when an ebuild |
5 |
test fails, it is not dieing but going adhead and doing |
6 |
the install. |
7 |
|
8 |
In the src_test function, I have: |
9 |
|
10 |
... |
11 |
make test || die "test failed" |
12 |
... |
13 |
|
14 |
Tried: |
15 |
|
16 |
make test |
17 |
rc=$? |
18 |
einfo "make test returns ${rc}" |
19 |
[ ${rc} -eq 0 ] || die "test failed" |
20 |
|
21 |
which displays '0' and continues. |
22 |
|
23 |
Also tried with '/usr/bin/make test', same problem. |
24 |
|
25 |
If I 'manually' (not within the portage system) run make test, |
26 |
a code ($?) of 2 is returned. |
27 |
|
28 |
Is there some portage magic going on that I don't understand? |
29 |
|
30 |
-- |
31 |
Aloha => Beau; |
32 |
|
33 |
-- |
34 |
gentoo-perl@g.o mailing list |