VirtualBox

Changeset 53135 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2014 7:43:25 PM (10 years ago)
Author:
vboxsync
Message:

Validation Kit: OS X code names

File:
1 edited

Legend:

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

    r53125 r53135  
    204204    elif sOs == 'darwin':
    205205        sVersion = platform.mac_ver()[0];
     206        codenames = {"4": "Tiger",
     207                     "5": "Leopard",
     208                     "6": "Snow Leopard",
     209                     "7": "Lion",
     210                     "8": "Mountain Lion",
     211                     "9": "Mavericks",
     212                     "10": "Yosemite"}
     213        sVersion += ' (' + codenames[sVersion.split('.')[1]] + ')'
    206214
    207215    return sVersion;
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