Commit 7a2565ac authored by Daniel Smith's avatar Daniel Smith

Fail the build if qtbase or the module to test fails to build

parent 8103d1e4
...@@ -300,7 +300,7 @@ def buildModule(module): ...@@ -300,7 +300,7 @@ def buildModule(module):
except IOError: except IOError:
extraLogData = f"ERROR: Unknown error occurred while running make for {module}" extraLogData = f"ERROR: Unknown error occurred while running make for {module}"
reportStatusUpdate(f"ERROR: Unknown error occurred while running make for {module}") reportStatusUpdate(f"ERROR: Unknown error occurred while running make for {module}")
if module == args.module and not module == "qtbase": if module in (args.module, "qtbase"):
# If qtbase didn't fail, and this isn't the module to test, it's worth continuing # If qtbase didn't fail, and this isn't the module to test, it's worth continuing
# with errors. # with errors.
return False return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment