projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04f8dfb
)
test-fail-continue: mark complete, bug #452030
author
Zac Medico
<zmedico@gentoo.org>
Tue, 15 Jan 2013 14:45:46 +0000
(06:45 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 15 Jan 2013 14:45:46 +0000
(06:45 -0800)
pym/_emerge/EbuildPhase.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildPhase.py
b/pym/_emerge/EbuildPhase.py
index 61e9a6f84e443ec578550032f22c66fb6c1b7438..493134999f8b64b49567b230fb21b11408c3ffb0 100644
(file)
--- a/
pym/_emerge/EbuildPhase.py
+++ b/
pym/_emerge/EbuildPhase.py
@@
-190,7
+190,14
@@
class EbuildPhase(CompositeTask):
if self._default_exit(ebuild_process) != os.EX_OK:
if self.phase == "test" and \
"test-fail-continue" in self.settings.features:
- pass
+ # mark test phase as complete (bug #452030)
+ try:
+ open(_unicode_encode(os.path.join(
+ self.settings["PORTAGE_BUILDDIR"], ".tested"),
+ encoding=_encodings['fs'], errors='strict'),
+ 'wb').close()
+ except OSError:
+ pass
else:
fail = True