Changeset 97279 in vbox for trunk/src/VBox/ValidationKit/analysis/analyze.py
- Timestamp:
- Oct 24, 2022 2:36:36 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/analysis/analyze.py
r97267 r97279 146 146 print(oWrapper.fill('Removes any leaf tests that are without any values or sub-tests. This is useful when ' 147 147 'only considering values, especially when doing additional value filtering.')); 148 149 print(''); 150 print('Analysis options:'); 151 print(' --pct-same-value <float>'); 152 print(oWrapper.fill('The threshold at which the percent difference between two values are considered the same ' 153 'during analysis.')); 154 print(oWrapper.initial_indent + 'Default: --pct-same-value 0.10'); 148 155 149 156 print(''); … … 307 314 fBrief = True; 308 315 cPctPrecision = 2; 316 rdPctSameValue = 0.1; 309 317 asTestFilters = []; 310 318 asTestOutFilters = []; … … 362 370 iBaseline = int(g_sOptArg); 363 371 372 elif matchWithValue('--pct-same-value'): 373 rdPctSameValue = float(g_sOptArg); 374 364 375 # '--' starts a new collection. If current one is empty, drop it. 365 376 elif sArg == '--': … … 426 437 # Produce the report. 427 438 # 428 oTable = reporting.RunTable(iBaseline, fBrief, cPctPrecision );439 oTable = reporting.RunTable(iBaseline, fBrief, cPctPrecision, rdPctSameValue); 429 440 oTable.populateFromRuns([oCollection.oDistilled for oCollection in aoCollections], 430 441 [oCollection.sName for oCollection in aoCollections]);
Note:
See TracChangeset
for help on using the changeset viewer.