sbsv2/raptor/test/common/raptor_tests.py
changeset 641 8dd670a9f34f
parent 625 a1925fb7753a
child 674 37ee82a83d43
equal deleted inserted replaced
640:ac0bbc1e5d79 641:8dd670a9f34f
   321 
   321 
   322 	def logfileOption(self):
   322 	def logfileOption(self):
   323 		return "-f " + self.logfile();
   323 		return "-f " + self.logfile();
   324 	
   324 	
   325 	def logfile(self):
   325 	def logfile(self):
   326 		return logDir + "/" + self.name + ".log"
   326 		return logDir + "/" + self.name.replace(" ","_") + ".log"
   327 	
   327 	
   328 	def makefileOption(self):
   328 	def makefileOption(self):
   329 		return "-m " + self.makefile();
   329 		return "-m " + self.makefile();
   330 	
   330 	
   331 	def makefile(self):
   331 	def makefile(self):
   365 	def pretest(self):
   365 	def pretest(self):
   366 		# what to do before the test runs
   366 		# what to do before the test runs
   367 		
   367 		
   368 		print "\nID:", self.id
   368 		print "\nID:", self.id
   369 		print "TEST:", self.name
   369 		print "TEST:", self.name
       
   370 		print "LOGFILE:", self.logfile()
   370 
   371 
   371 		return self.clean()
   372 		return self.clean()
   372 			
   373 			
   373 	def test(self):
   374 	def test(self):
   374 		# run the actual test
   375 		# run the actual test