From 2fa928635a59da505909abd9f953331ff76eb218 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 29 Mar 2022 22:04:17 +0200 Subject: [PATCH 1/1] [MBI] Remove useless assignments.. --- teshsuite/smpi/MBI/MBIutils.py | 2 -- teshsuite/smpi/MBI/generator_utils.py | 1 - 2 files changed, 3 deletions(-) diff --git a/teshsuite/smpi/MBI/MBIutils.py b/teshsuite/smpi/MBI/MBIutils.py index 67f81d4b0b..9eedad5240 100644 --- a/teshsuite/smpi/MBI/MBIutils.py +++ b/teshsuite/smpi/MBI/MBIutils.py @@ -260,7 +260,6 @@ def run_cmd(buildcmd, execcmd, cachefile, filename, binary, timeout, batchinfo, pid = process.pid pgid = os.getpgid(pid) # We need that to forcefully kill subprocesses when leaving - outcome = None while True: if poll_obj.poll(5): # Something to read? Do check the timeout status every 5 sec if not line = process.stdout.readline() @@ -271,7 +270,6 @@ def run_cmd(buildcmd, execcmd, cachefile, filename, binary, timeout, batchinfo, if read_line_lambda != None: read_line_lambda(line, process) if time.time() - start_time > timeout: - outcome = 'timeout' with open(f'{cachefile}.timeout', 'w') as outfile: outfile.write(f'{time.time() - start_time} seconds') break diff --git a/teshsuite/smpi/MBI/generator_utils.py b/teshsuite/smpi/MBI/generator_utils.py index 086dfe503e..a2ca4237fd 100644 --- a/teshsuite/smpi/MBI/generator_utils.py +++ b/teshsuite/smpi/MBI/generator_utils.py @@ -33,7 +33,6 @@ precv = ['MPI_Recv_init'] probe = ['MPI_Probe'] # RMA -epoch = ['MPI_Win_fence', 'MPI_Win_lock', 'MPI_Win_lock_all'] rma = ['MPI_Get', 'MPI_Put'] get = ['MPI_Get'] put = ['MPI_Put'] -- 2.30.2