[pypy-svn] r39054 - pypy/release/0.99.x/pypy/tool

pedronis at codespeak.net pedronis at codespeak.net
Fri Feb 16 22:41:36 CET 2007


Author: pedronis
Date: Fri Feb 16 22:41:35 2007
New Revision: 39054

Modified:
   pypy/release/0.99.x/pypy/tool/makerelease.py
Log:
try to be more chatty



Modified: pypy/release/0.99.x/pypy/tool/makerelease.py
==============================================================================
--- pypy/release/0.99.x/pypy/tool/makerelease.py	(original)
+++ pypy/release/0.99.x/pypy/tool/makerelease.py	Fri Feb 16 22:41:35 2007
@@ -5,6 +5,8 @@
 log = py.log.Producer("log")
 logexec = py.log.Producer("exec")
 
+import os
+
 BASEURL = "file:///svn/pypy/release/0.99.x"
 DDIR = py.path.local('/www/codespeak.net/htdocs/download/pypy')
 
@@ -75,7 +77,11 @@
     old = docdir.chdir()
     try:
         # Generate the html files.
-        out = cexec("python2.4 ../test_all.py")
+        cmd = "python2.4 ../test_all.py"
+        logexec(cmd)
+        r = os.system(cmd)
+        if r:
+            raise SystemExit, -1
         # Remove any .pyc files created in the process
         target.chdir()
         out = cexec("find . -name '*.pyc' -print0 | xargs -0 -r rm")



More information about the Pypy-commit mailing list