Changeset 53137 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Oct 23, 2014 9:15:34 PM (10 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r53135 r53137 203 203 204 204 elif sOs == 'darwin': 205 s Version = platform.mac_ver()[0];205 sOsxVersion = platform.mac_ver()[0]; 206 206 codenames = {"4": "Tiger", 207 207 "5": "Leopard", … … 211 211 "9": "Mavericks", 212 212 "10": "Yosemite"} 213 sVersion += ' (' + codenames[sVersion.split('.')[1]] + ')'213 sVersion += ' / OS X ' + sOsxVersion + ' (' + codenames[sOsxVersion.split('.')[1]] + ')' 214 214 215 215 return sVersion; -
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py
r52776 r53137 242 242 sVer1 = sOsVersion; 243 243 sVer2 = None; 244 if oEntry.sOs == 'linux' :244 if oEntry.sOs == 'linux' or oEntry.sOs == 'darwin': 245 245 iSep = sOsVersion.find(' / '); 246 246 if iSep > 0:
Note:
See TracChangeset
for help on using the changeset viewer.