gaudirun.py -v --dry-run main_err.py 1 expected_error = "AttributeError: Configurable 'MessageSvc' does not have property 'IDontHaveIt'" if stderr.find(expected_error) == -1: causes.append("error") result["GaudiTest.expected_error"] = result.Quote(expected_error)