Changeset 78973 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 4, 2019 4:41:27 PM (6 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testdriver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/base.py
r78641 r78973 743 743 def __init__(self, sName, oTstDrv): 744 744 self.sName = sName; 745 self.oTstDrv = oTstDrv ;# type: TestDriverBase745 self.oTstDrv = oTstDrv # type: TestDriverBase 746 746 self.asRsrcs = []; 747 747 … … 856 856 857 857 # List of sub-test drivers (SubTestDriverBase derivatives). 858 self.aoSubTstDrvs = [] ;# type: list(SubTestDriverBase)858 self.aoSubTstDrvs = [] # type: list(SubTestDriverBase) 859 859 860 860 # Use the scratch path for temporary files. -
trunk/src/VBox/ValidationKit/testdriver/reporter.py
r77507 r78973 49 49 50 50 ## test reporter instance 51 g_oReporter = None ;# type: ReporterBase51 g_oReporter = None # type: ReporterBase 52 52 g_sReporterName = None; 53 53 … … 117 117 def write(self, sText): 118 118 """Writes python log message to our stream.""" 119 if g_oReporter !=None:119 if g_oReporter is not None: 120 120 sText = sText.rstrip("\r\n"); 121 121 #g_oReporter.log(0, 'python: %s' % (sText), utils.getCallerName(), utils.getTimePrefix()); … … 304 304 305 305 # safe pop 306 if len(self.atTests) <= 0:306 if not self.atTests: 307 307 self.log(0, 'testDone on empty test stack!', sCaller, sTsPrf); 308 308 return ('internal error', 0);
Note:
See TracChangeset
for help on using the changeset viewer.