diff --git a/regressionFinder.py b/regressionFinder.py index 874e33d223b0e87179e29f459b527e61b26ec37e..5cf0a598372000901fcf197fcad05d81d671c4ca 100644 --- a/regressionFinder.py +++ b/regressionFinder.py @@ -300,7 +300,7 @@ def buildModule(module): except IOError: extraLogData = 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 # with errors. return False