VirtualBox

Changeset 64543 in vbox for trunk


Ignore:
Timestamp:
Nov 3, 2016 7:51:24 PM (8 years ago)
Author:
vboxsync
Message:

vboxtestvms.py: Don't let the random hwvirt mode crayzness mess up the command line option.

File:
1 edited

Legend:

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

    r62484 r64543  
    185185        self.asVirtModesSup          = asVirtModesSup;
    186186        self.asParavirtModesSup      = asParavirtModesSup;
     187        self.asParavirtModesSupOrg   = asParavirtModesSup; # HACK ALERT! Trick to make the 'effing random mess not get in the
     188                                                           # way of actively selecting virtualization modes.
    187189        self.sKind                   = sKind;
    188190        self.sGuestOsType            = None;
     
    292294            ## @todo Remove this hack as soon as we've got around to explictly configure test variations
    293295            ## on the server side. Client side random is interesting but not the best option.
     296            self.asParavirtModesSupOrg = self.asParavirtModesSup;
    294297            if fRandomPvPMode:
    295298                random.seed();
     
    600603            if len(self.asParavirtModes) == 0:
    601604                self.asParavirtModes = None;
     605
     606            # HACK ALERT! Reset the random paravirt selection for members.
     607            for oTestVm in self.aoTestVms:
     608                oTestVm.asParavirtModesSup = oTestVm.asParavirtModesSupOrg;
    602609
    603610        else:
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