VirtualBox

Changeset 53137 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Oct 23, 2014 9:15:34 PM (10 years ago)
Author:
vboxsync
Message:

Validation Kit: show both the darwin version and the OSX version

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/common/utils.py

    r53135 r53137  
    203203
    204204    elif sOs == 'darwin':
    205         sVersion = platform.mac_ver()[0];
     205        sOsxVersion = platform.mac_ver()[0];
    206206        codenames = {"4": "Tiger",
    207207                     "5": "Leopard",
     
    211211                     "9": "Mavericks",
    212212                     "10": "Yosemite"}
    213         sVersion += ' (' + codenames[sVersion.split('.')[1]] + ')'
     213        sVersion += ' / OS X ' + sOsxVersion + ' (' + codenames[sOsxVersion.split('.')[1]] + ')'
    214214
    215215    return sVersion;
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py

    r52776 r53137  
    242242            sVer1 = sOsVersion;
    243243            sVer2 = None;
    244             if oEntry.sOs == 'linux':
     244            if oEntry.sOs == 'linux' or oEntry.sOs == 'darwin':
    245245                iSep = sOsVersion.find(' / ');
    246246                if iSep > 0:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette