Changeset 99702 in vbox
- Timestamp:
- May 9, 2023 3:41:38 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/cgi/status.py
r98537 r99702 95 95 96 96 97 def os_results_separating(dResult, sTestName, sTestBoxOs, enmStatus): 98 if sTestBoxOs == "linux": 99 dict_update(dResult, sTestName + " / linux", enmStatus) 100 elif sTestBoxOs == "win": 101 dict_update(dResult, sTestName + " / windows", enmStatus) 102 elif sTestBoxOs == "darwin": 103 dict_update(dResult, sTestName + " / darwin", enmStatus) 104 elif sTestBoxOs == "solaris": 105 dict_update(dResult, sTestName + " / solaris", enmStatus) 106 else: 107 dict_update(dResult, sTestName + " / other", enmStatus) 97 def os_results_separating(dResult, sTestName, sTestBoxOs, sTestBoxCpuArch, enmStatus): 98 if sTestBoxOs == 'win': 99 sTestBoxOs = 'windows' 100 elif sTestBoxOs != 'linux' and sTestBoxOs != 'darwin' and sTestBoxOs != 'solaris': 101 sTestBoxOs = 'other' 102 dict_update(dResult, '%s / %s.%s' % (sTestName, sTestBoxOs, sTestBoxCpuArch), enmStatus) 108 103 109 104 … … 394 389 SELECT TestSets.enmStatus, 395 390 TestCases.sName, 396 TestBoxesWithStrings.sOS 391 TestBoxesWithStrings.sOS, 392 TestBoxesWithStrings.sCpuArch 397 393 FROM TestSets 398 394 INNER JOIN TestCases … … 407 403 SELECT TestSets.enmStatus, 408 404 TestCases.sName, 409 TestBoxesWithStrings.sOS 405 TestBoxesWithStrings.sOS, 406 TestBoxesWithStrings.sCpuArch 410 407 FROM TestSets 411 408 INNER JOIN BuildCategories … … 426 423 if aoRow is None: 427 424 break; 428 os_results_separating(dResult, aoRow[1], aoRow[2], aoRow[ 0]) # save all test results425 os_results_separating(dResult, aoRow[1], aoRow[2], aoRow[3], aoRow[0]) # save all test results 429 426 430 427 # Format and output it.
Note:
See TracChangeset
for help on using the changeset viewer.

