Mercurial > bitten > bitten-test
diff scripts/build.py @ 153:3ab91c56d7bc
* Fix `pythontools` unit tests on windows.
* Handle import error when resolving the module in `<python:exec>`
author | cmlenz |
---|---|
date | Mon, 22 Aug 2005 11:21:18 +0000 |
parents | f3f5895e373c |
children | 634be6cbb808 |
line wrap: on
line diff
--- a/scripts/build.py +++ b/scripts/build.py @@ -61,7 +61,7 @@ for step in recipe: if not steps_to_run or step.id in steps_to_run: print - print '-->', step.description or step.id + print '-->', step.id for type, function, output in step.execute(recipe.ctxt): if type == Recipe.ERROR: log.error('Failure in step "%s": %s', step.id, output) @@ -76,6 +76,8 @@ try: main() except BuildError, e: + print print>>sys.stderr, 'FAILED: %s' % e sys.exit(-1) + print print 'SUCCESS'