예제 #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"]
예제 #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"]
예제 #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"]])