projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be6f1c
)
Bug #334253 - Fix breakage in FEATURES=test-fail-continue logic.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Aug 2010 13:37:40 +0000
(06:37 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 24 Aug 2010 13:37:40 +0000
(06:37 -0700)
pym/_emerge/EbuildPhase.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildPhase.py
b/pym/_emerge/EbuildPhase.py
index d0a218b179dfe2ecb6dd3e3c1b77f2cf643f7440..58ce0c62c929edd937a57a495722554ee91ce9e3 100644
(file)
--- a/
pym/_emerge/EbuildPhase.py
+++ b/
pym/_emerge/EbuildPhase.py
@@
-116,7
+116,11
@@
class EbuildPhase(CompositeTask):
self._start_task(post_phase, self._post_phase_exit)
return
- self.returncode = ebuild_process.returncode
+ # this point is not reachable if there was a failure and
+ # we returned for die_hooks above, so returncode must
+ # indicate success (especially if ebuild_process.returncode
+ # is unsuccessful and test-fail-continue came into play)
+ self.returncode = os.EX_OK
self._current_task = None
self.wait()