Explorar o código

catch "compilation terminated"

Andrew Tridgell %!s(int64=4) %!d(string=hai) anos
pai
achega
2c603f1b10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -347,7 +347,7 @@ def get_build_status():
             build = open(os.path.join(outdir_parent,b,'build.log')).read()
             if build.find("'%s' finished successfully" % vehicle.lower()) != -1:
                 status = "Finished"
-            elif build.find('The configuration failed') != -1 or build.find('Build failed') != -1:
+            elif build.find('The configuration failed') != -1 or build.find('Build failed') != -1 or build.find('compilation terminated') != -1:
                 status = "Failed"
             elif build.find('BUILD_FINISHED') == -1:
                 status = "Running"