Changeset 86975 in vbox for trunk/src/VBox/ValidationKit/analysis
- Timestamp:
- Nov 25, 2020 2:45:30 PM (4 years ago)
- Location:
- trunk/src/VBox/ValidationKit/analysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/analysis/reporting.py
r82968 r86975 218 218 Produce an HTML report on stdout (via print). 219 219 """ 220 print 'not implemented: %s' % (oTest);220 print('not implemented: %s' % (oTest)); 221 221 return False; 222 222 … … 225 225 Produce a ReStructured text report on stdout (via print). 226 226 """ 227 print 'not implemented: %s' % (oTest);227 print('not implemented: %s' % (oTest)); 228 228 return False; 229 229 … … 276 276 if i > 0: sLine += ' '; 277 277 sLine += asLine[i].center(acchColumns[i]); 278 print sLine;278 print(sLine); 279 279 280 280 # Units. … … 283 283 if i > 0: sLine += ' '; 284 284 sLine += oTable.asUnits[i].center(acchColumns[i]); 285 print sLine;285 print(sLine); 286 286 287 287 # Separator line. … … 290 290 if i > 0: sLine += ' ' 291 291 sLine += '=' * acchColumns[i]; 292 print sLine;292 print(sLine); 293 293 294 294 # The rows. … … 297 297 for i in range(1, len(asColumns)): 298 298 sText += ' ' + asColumns[i].rjust(acchColumns[i]); 299 print sText;299 print(sText); 300 300 301 301 return None; -
trunk/src/VBox/ValidationKit/analysis/tst-a1.py
r82968 r86975 48 48 def usage(): 49 49 """ Display usage """ 50 print 'usage: %s [options] <testresults.xml> [baseline.xml]' % (sys.argv[0]);51 print ''52 print 'options:'53 print ' --filter <test-sub-string>'50 print('usage: %s [options] <testresults.xml> [baseline.xml]' % (sys.argv[0])); 51 print('') 52 print('options:') 53 print(' --filter <test-sub-string>') 54 54 return 1; 55 55 … … 68 68 return usage(); 69 69 elif asArgs[iArg].startswith('--'): 70 print 'syntax error: unknown option "%s"' % (asArgs[iArg]);70 print('syntax error: unknown option "%s"' % (asArgs[iArg])); 71 71 return usage(); 72 72 elif sTestFile is None: … … 75 75 sBaseFile = asArgs[iArg]; 76 76 else: 77 print 'syntax error: too many file names: %s' % (asArgs[iArg])77 print('syntax error: too many file names: %s' % (asArgs[iArg])) 78 78 return usage(); 79 79 iArg += 1;
Note:
See TracChangeset
for help on using the changeset viewer.