# HG changeset patch # User Stefan Behnel <stefan_ml@behnel.de> # Date 1593516370 -7200 # Tue Jun 30 13:26:10 2020 +0200 # Node ID 4d81d404fbba3a9f5a4a1c08b40a732e448ae7a0 # Parent b1c559a8ff8e55e5fa94a7c45d8860d876572bb7 Make end-to-end tests fail on refnanny output. diff --git a/runtests.py b/runtests.py --- a/runtests.py +++ b/runtests.py @@ -1747,6 +1747,8 @@ out.append(_out) err.append(_err) res = p.returncode + if res == 0 and b'REFNANNY: ' in _out: + res = -1 if res != 0: for c, o, e in zip(cmd, out, err): sys.stderr.write("%s\n%s\n%s\n\n" % (