* ./goodies:

- Bug: In buildCoriolis.py, io tool was both declared as belonging to io
        and hurricane project. Removed from Hurricane.
    - Bug: In buildCoriolis.py, exctract correctly the return status of a
        command to return it to the parent process. See Python documentation
        about os.wait() & os.waitpid().
This commit is contained in:
Jean-Paul Chaput 2010-03-26 18:09:30 +00:00
parent d55da89955
commit 3f10d44549
1 changed files with 3 additions and 3 deletions

View File

@ -151,8 +151,9 @@ class ProjectBuilder:
def _execute ( self, command, error ):
child = subprocess.Popen ( command, env=self._environment, stdout=None )
(pid,status) = os.waitpid ( child.pid, 0 )
status >>= 8
if status != 0:
print "[ERROR] %s (%d)." % (error,status)
print "[ERROR] %s (status:%d)." % (error,status)
sys.exit ( status )
return
@ -334,8 +335,7 @@ if __name__ == "__main__":
)
coriolis = Project ( name = "coriolis"
, tools =[ "io"
, "hurricane"
, tools =[ "hurricane"
, "crlcore"
, "knik"
, "katabatic"