1 |
On Sat, Nov 28, 2015 at 4:50 PM, Justin Lecher (jlec) <jlec@g.o> wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA512 |
4 |
> |
5 |
> On 28/11/15 16:28, Davide Pesavento wrote: |
6 |
>>> else - nonfatal ${VIRTUALX_COMMAND} "$@" + |
7 |
>>> nonfatal "$@" |
8 |
>> |
9 |
>> Please take the opportunity to clean this up, possibly only in |
10 |
>> EAPI=6 if you don't want to risk breaking existing ebuilds. See bug |
11 |
>> 517976 for details. |
12 |
>> |
13 |
>>> retval=$? |
14 |
> |
15 |
> The return value is recorded and gets evaluated correctly. |
16 |
> |
17 |
> src_test() { |
18 |
> virtx false |
19 |
> } |
20 |
> |
21 |
[...] |
22 |
> |
23 |
> Am I missing something? |
24 |
|
25 |
The scenario of bug 517976 is different. I think a minimized test case |
26 |
is the following (untested): |
27 |
|
28 |
foo() { |
29 |
die "meh" |
30 |
return 0 |
31 |
} |
32 |
|
33 |
src_test() { |
34 |
virtx foo |
35 |
} |