From 77fc771ed00ab699d549efb9fac99eb5a4b22254 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 14 Sep 2024 18:01:36 -0400 Subject: [PATCH] Tests: Fix missing stdout on execute() --- test_regress/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/driver.py b/test_regress/driver.py index ce6ed1742..9c6011df3 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -1330,7 +1330,7 @@ class VlTest: 'expect_filename': None, 'fails': False, 'run_env': '', - 'tee': False, + 'tee': True, } param.update(vars(self)) param.update(kwargs) @@ -1728,7 +1728,7 @@ class VlTest: with open(logfile, 'r', encoding="utf8") as fh: firstline = fh.read() firstline = firstline.strip() - firstline = re.sub(r'(^|\n)- [^\n]+', '\1', firstline) # Debug message + firstline = re.sub(r'(^|\n)- [^\n]+', r'\1', firstline) # Debug message self.error("Exec of " + cmd[0] + " failed: " + firstline) if fails and status: print("(Exec expected to fail, and did.)")