chiark / gitweb /
Don't include skips in build successes
authorCiaran Gultnieks <ciaran@ciarang.com>
Fri, 6 Jan 2012 12:21:06 +0000 (12:21 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Fri, 6 Jan 2012 12:21:06 +0000 (12:21 +0000)
build.py

index be4fc3d0cde5e275ef519248e1f538b83967460f..85db53bb02f2c35b5692091ac3dddef79ba0a75a 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -265,6 +265,7 @@ for app in apps:
                     if p.returncode != 0:
                         raise BuildException("Failed to align application")
                     os.remove(dest_unsigned)
+                    build_succeeded.append(app)
             except BuildException as be:
                 print "Could not build app %s due to BuildException: %s" % (app['id'], be)
                 failed_apps[app['id']] = be
@@ -274,7 +275,6 @@ for app in apps:
             except Exception as e:
                 print "Could not build app %s due to unknown error: %s" % (app['id'], e)
                 failed_apps[app['id']] = e
-            build_succeeded.append(app)
 
 for app in build_succeeded:
     print "success: %s" % (app['id'])