From f6049e9d7f63d9b67a0e30379fb80e509ab924b2 Mon Sep 17 00:00:00 2001 From: Landon Owen Date: Wed, 6 Nov 2024 09:55:50 -0800 Subject: [PATCH] Cosmetic changes to docker.py --- ats/atsMachines/docker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ats/atsMachines/docker.py b/ats/atsMachines/docker.py index 3c00c40..1a6383b 100644 --- a/ats/atsMachines/docker.py +++ b/ats/atsMachines/docker.py @@ -5,7 +5,7 @@ from ats.atsut import RUNNING, TIMEDOUT class Docker (machines.Machine): - "Typical Linux machine." + "Typical Linux machine. To use, set MACHINE_TYPE environment variable to docker" def init (self) : self.npMax = 1 @@ -48,12 +48,11 @@ def examineOptions(self, options): # machines.py sets this self.npMax = self.numberTestsRunningMax self.mpiexe = options.mpiexe - self.mpiexe = options.mpiexe self.nompi = options.nompi if (self.npMax < 2 and self.mpiexe): terminal("WARNING: npMax should be > 1 to use mpiexe") if (self.mpiexe and self.nompi): - terminal("WARNING: Setting --nompi and --mpiexe contradicts") + terminal("WARNING: --mpiexe will be ignored when --nompi") def calculateCommandList(self, test): """Prepare for run of executable using a suitable command. First we get the plain command