diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index e84ec2a1..a98dce4f 100755 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -192,9 +192,10 @@ def git_apply(result, cmd, patch_file, strip, output_dir): with open(output_file) as fh: output = fh.read() if rc == 0: - result.success("Patch applied correctly") if output: - print output + result.success("Patch applied, but there has been warnings:\n{code}%s{code}\n" % (output)) + else: + result.success("Patch applied correctly") else: result.fatal("failed to apply patch (exit code %d):\n{code}%s{code}\n" % (rc, output))