VirtualBox

Changeset 101061 in vbox


Ignore:
Timestamp:
Sep 8, 2023 8:05:04 AM (15 months ago)
Author:
vboxsync
Message:

Validation Kit: Build fix for VBox < 7.1. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r101035 r101061  
    25492549            return None;
    25502550
    2551         # Sanity.
    2552         if   self.fpApiVer < 7.1 \
    2553         and sPlatformArchitecture != 'x86':  # 7.1 introduced platform support.
     2551        # Default to x86 if not explicitly specified.
     2552        if self.fpApiVer >= 7.1:
     2553            if not sPlatformArchitecture \
     2554            or     sPlatformArchitecture == 'x86':
     2555                enmPlatformArchitecture = vboxcon.PlatformArchitecture_x86;
     2556            elif sPlatformArchitecture == 'ARM':
     2557                enmPlatformArchitecture = vboxcon.PlatformArchitecture_ARM;
     2558            else:
     2559                reporter.error('Unkown platform architecture "%s"' % (sPlatformArchitecture,));
     2560                return None;
     2561        elif sPlatformArchitecture != 'x86':  # < 7.1 only has x86 support.
    25542562            reporter.errorXcpt('This host version of VirtualBox only supports x86 as platform architecture');
    2555             return None;
    2556 
    2557         # Default to x86 if not explicitly specified.
    2558         if not sPlatformArchitecture \
    2559         or     sPlatformArchitecture == 'x86':
    2560             enmPlatformArchitecture = vboxcon.PlatformArchitecture_x86;
    2561         elif sPlatformArchitecture == 'ARM':
    2562             enmPlatformArchitecture = vboxcon.PlatformArchitecture_ARM;
    2563         else:
    2564             reporter.error('Unkown platform architecture "%s"' % (sPlatformArchitecture,));
    25652563            return None;
    25662564
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