def getQueueSystemCommand(self, test):
     submissionRules = self.getSubmissionRules(test)
     cmdArgs = self.getSubmitCmdArgs(test, submissionRules)
     text = queueSystemName(test) + " Command   : " + plugins.commandLineString(cmdArgs) + " ...\n" + \
            "Slave Command : " + self.getSlaveCommand(test, submissionRules) + "\n"
     proxyArgs = self.getProxyCmdArgs(test)
     if proxyArgs:
         return queueSystemName(test) + " Proxy Command   : " + plugins.commandLineString(proxyArgs) + "\n" + text
     else:
         return text
Beispiel #2
0
 def getRunDescription(self, test):
     commandArgs = self.getLocalExecuteCmdArgs(test, makeDirs=False)
     text =  "Command Line   : " + plugins.commandLineString(commandArgs) + "\n"
     text += "\nEnvironment variables :\n"
     for var, value in self.getEnvironmentChanges(test):
         text += var + "=" + value + "\n"
     return text
Beispiel #3
0
 def notifyAllRead(self, suites):
     self.text = ""
     self.text += "\n".join(map(self.appInfo, suites)) + "\n"
     self.text += "Command line     : " + plugins.commandLineString(sys.argv) + "\n\n"
     self.text += "Start time       : " + plugins.startTimeString() + "\n"
     self.updateView()
 def shellWrapArgs(self, commandArgs):
     # Must use exec so as not to create extra processes: SGE's qdel isn't very clever when
     # it comes to noticing extra shells
     return [ "exec", "$SHELL -c \"exec " + plugins.commandLineString(commandArgs, defaultQuoteChar="'") + "\"" ]
Beispiel #5
0
 def getQueueSystemCommand(self, test):
     submissionRules = self.getSubmissionRules(test)
     cmdArgs = self.getSubmitCmdArgs(test, submissionRules)
     return queueSystemName(test) + " Command   : " + plugins.commandLineString(cmdArgs) + " ...\n" + \
            "Slave Command : " + self.getSlaveCommand(test, submissionRules) + "\n"