Skip to content

Commit 698825e

Browse files
committed
fixes bug in test_manager introduced with mpi args
1 parent 5e91879 commit 698825e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/test_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ def _run_test(self, test_name, dry_run, status, testlog):
278278
if self._np is not None:
279279
if self._mpiexec:
280280
command.append(str(self._mpiexec['mpiexec']))
281-
if self._mpiexec['mpiexec_global_args'] is not None:
281+
if self._mpiexec['mpiexec_global_args'] is not None and \
282+
self._mpiexec['mpiexec_global_args'] != '':
282283
command.append(str(self._mpiexec['mpiexec_global_args']))
283284
command.append(str(self._mpiexec['mpiexec_numprocs_flag']))
284285
command.append(str(self._np))

0 commit comments

Comments
 (0)