From 698825e505c2c10569360fc2cd176c5c813e1c7f Mon Sep 17 00:00:00 2001 From: Ethan Coon Date: Fri, 28 Jun 2024 14:33:14 -0600 Subject: [PATCH] fixes bug in test_manager introduced with mpi args --- tools/testing/test_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/test_manager.py b/tools/testing/test_manager.py index 3bceaa830..210ad2a02 100644 --- a/tools/testing/test_manager.py +++ b/tools/testing/test_manager.py @@ -278,7 +278,8 @@ def _run_test(self, test_name, dry_run, status, testlog): if self._np is not None: if self._mpiexec: command.append(str(self._mpiexec['mpiexec'])) - if self._mpiexec['mpiexec_global_args'] is not None: + if self._mpiexec['mpiexec_global_args'] is not None and \ + self._mpiexec['mpiexec_global_args'] != '': command.append(str(self._mpiexec['mpiexec_global_args'])) command.append(str(self._mpiexec['mpiexec_numprocs_flag'])) command.append(str(self._np))