From 0593e617b41402c01c51b26806e279c52e546a78 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Mon, 27 May 2024 09:21:17 +0200 Subject: [PATCH] Corrected issue when reporting error with AVH running. The Python code was refering to a not existing variable. --- Testing/board/runall.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Testing/board/runall.py b/Testing/board/runall.py index 50cc438..57f017a 100644 --- a/Testing/board/runall.py +++ b/Testing/board/runall.py @@ -117,7 +117,8 @@ def run(*args,mustPrint=False,dumpStdErr=True,live=None): live.console.print(result.stdout) return(Result(result.stdout)) except Exception as e: - printError(live,"Exception occured") + if DEBUG: + printError(live,"Exception occured") ERROR_OCCURED = True return(Result(str(e),error=True)) @@ -333,7 +334,7 @@ def gen_table(the_list): latest[-1][-1]="[red]Error running AVH" live.update(renderable=gen_table(latest)) #printError(live,"Error running AVH") - print("

Error running %s

" % s,file=f)
+                               print(f'

Error running {testSuite["name"]} with {avhExe[core]}

',file=f)
                                print(res.msg,file=f)
                                print("
",file=f) continue