Esempio n. 1
0
 def getCommand(self, options):
   ravenflag = ''
   if self.specs['test_interface_only'].lower() == 'true': ravenflag = 'interfaceCheck '
   if RavenUtils.inPython3():
     return "python3 " + self.driver + " " + ravenflag + self.specs["input"]
   else:
     return "python " + self.driver + " " + ravenflag + self.specs["input"]
Esempio n. 2
0
 def getCommand(self, options):
     """This method returns the command to execute for the test"""
     ravenflag = ''
     if self.specs['test_interface_only'].lower() == 'true':
         ravenflag = 'interfaceCheck '
     if RavenUtils.inPython3():
         return "python3 ../../../framework/Driver.py " + ravenflag + self.specs[
             "input"]
     else:
         return "python ../../../framework/Driver.py " + ravenflag + self.specs[
             "input"]
Esempio n. 3
0
 def getCommand(self, options):
     """
   This method returns the command to execute for the test
   @ In, options, argparse.Namespace, functionally a dictionary of options from the input
   @ Out, getCommand, string, the command to run
 """
     ravenflag = ''
     if self.specs['test_interface_only'].lower() == 'true':
         ravenflag = 'interfaceCheck '
     if RavenUtils.inPython3():
         return ' '.join(["python3", raven, ravenflag, self.specs["input"]])
     else:
         return ' '.join(["python", raven, ravenflag, self.specs["input"]])