From 52f06fb53f084326e29e05b9947f7d8997c632dc Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 11 Aug 2025 16:33:40 +0200 Subject: [PATCH] run-tests.py: do not strip newlines from output --- run-tests.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/run-tests.py b/run-tests.py index 5017f4c1..1de45f44 100644 --- a/run-tests.py +++ b/run-tests.py @@ -10,8 +10,8 @@ def cleanup(out): if len(s) > 1 and s[0] == '#': continue s = "".join(s.split()) - ret = ret + s - return ret + ret = ret + '\n' + s + return ret.strip() commands = [] @@ -117,6 +117,10 @@ def cleanup(out): usedTodos.append(filename) else: print('FAILED ' + cmd) + print('expected:') + print(clang_output) + print('actual:') + print(simplecpp_output) if simplecpp_ec: print('simplecpp failed - ' + simplecpp_err) numberOfFailed = numberOfFailed + 1