Fix search phrase used to count successful tests (Reference-LAPACK PR 954)

This commit is contained in:
Martin Kroeker 2023-12-05 20:10:20 +01:00 committed by GitHub
parent 6aa5f53e26
commit 589f2b6466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def run_summary_test( f, cmdline, short_summary):
for line in pipe.readlines(): for line in pipe.readlines():
f.write(str(line)) f.write(str(line))
words_in_line=line.split() words_in_line=line.split()
if (line.find("run")!=-1): if (line.find("run)")!=-1):
# print line # print line
whereisrun=words_in_line.index("run)") whereisrun=words_in_line.index("run)")
nb_test_run+=int(words_in_line[whereisrun-2]) nb_test_run+=int(words_in_line[whereisrun-2])