]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
If any of the builds in a group fails offer to stop the fullbuild process and open...
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Jul 2000 19:45:07 +0000 (19:45 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Jul 2000 19:45:07 +0000 (19:45 +0000)
Mac/scripts/fullbuild.py

index f334e4d553c5b4ab42c94ad691daea5082ea9fdf..2dadfa9e672dc64131bee8ca5830c1ffa3ea5a5a 100644 (file)
@@ -64,6 +64,7 @@ def buildmwproject(top, creator, projects):
        mgr = MwShell(creator, start=1)
        mgr.send_timeout = AppleEvents.kNoTimeOut
        
+       failed = []
        for file in projects:
                if type(file) == type(()):
                        file, target = file
@@ -90,7 +91,15 @@ def buildmwproject(top, creator, projects):
                        mgr.Make_Project()
                except aetools.Error, arg:
                        print '**', file, target, 'Failed:', arg
+                       failed.append(fss)
                mgr.Close_Project()
+       if failed:
+               print 'Open failed projects and exit?',
+               rv = sys.stdin.readline()
+               if rv[0] in ('y', 'Y'):
+                       for fss in failed:
+                               mgr.open(fss)
+                       sys.exit(0)
 ##     mgr.quit()
        
 def buildapplet(top, dummy, list):