Esempio n. 1
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.executed = False
     self.total_line=''
     self.executed_line=''
Esempio n. 2
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.total = False
     self.executed = False
     self.total_line = ''
     self.executed_line = ''
Esempio n. 3
0
 def running(self):
     result = TestParent.running(self)
     if result.find("[ERROR] BUILD ERROR") != -1 or result.find(
             "BUILD FAILURE") != -1:
         print "BUILD ERROR/FAILURE"
         return 100
     self.get_case_list(result)
Esempio n. 4
0
 def before_run(self):
     if (platform.architecture()[0] == '64bit'):
         self.JavaHome = self.JavaHome + '.x86_64'
     os.environ["JAVA_HOME"] = self.JavaHome
     os.environ["PATH"] = self.MvnPath + os.environ["PATH"]
     TestParent.before_run(self)
Esempio n. 5
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []
Esempio n. 6
0
 def __init__(self,options,config):
     TestParent.__init__(self,options,config)
     self.flag = False
     self.line_info = ""
Esempio n. 7
0
    def __init__(self,options,config):
        TestParent.__init__(self,options,config)
        self.lcov_info = ''
	#keep defalt code coverage calculation, do NOT care the codes test doesn't hit
	#1 = keep; 
	self.keep = options.get('keep', 0)
Esempio n. 8
0
 def before_run(self):
     TestParent.before_run(self)
     if(self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
Esempio n. 9
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
Esempio n. 10
0
 def running(self):
     result = TestParent.running(self)
     if result.find("[ERROR] BUILD ERROR")!=-1 or result.find("BUILD FAILURE")!=-1:
         print "BUILD ERROR/FAILURE"
         return 100
     self.get_case_list(result)
Esempio n. 11
0
 def before_run(self):
     if (platform.architecture()[0] == '64bit'):
         self.JavaHome = self.JavaHome + '.x86_64'
     os.environ["JAVA_HOME"] = self.JavaHome
     os.environ["PATH"] = self.MvnPath + os.environ["PATH"]
     TestParent.before_run(self)
Esempio n. 12
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     self.lcov_info = ''
     #keep defalt code coverage calculation, do NOT care the codes test doesn't hit
     #1 = keep;
     self.keep = options.get('keep', 0)
Esempio n. 13
0
 def before_run(self):
     TestParent.before_run(self)
     if (self.makefilecommands and self.Make() == False):
         print "Build/Make ERROR"
         return 100
Esempio n. 14
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.flag = False
     self.line_info = ""
Esempio n. 15
0
 def __init__(self, config, options):
     TestParent.__init__(self, config, options)
Esempio n. 16
0
 def __init__(self,config,options):
     TestParent.__init__(self,config,options)
Esempio n. 17
0
 def __init__(self, options, config):
     TestParent.__init__(self, options, config)
     HTMLParser.__init__(self)
     self.total = False
     self.flag = False
     self.data = []