- Timestamp:
- Apr 1, 2015 10:53:51 PM (10 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py
r55018 r55084 317 317 fRc = fRc and oSession.setCpuCount(cCpus); 318 318 319 if sParavirtMode is not None and oSession.fpApiVer >= 4.4:319 if sParavirtMode is not None and oSession.fpApiVer >= 5.0: 320 320 adParavirtProviders = { 321 321 g_ksParavirtProviderNone : vboxcon.ParavirtProvider_None, … … 708 708 709 709 # Ditto for paravirtualization modes, except if not specified we got a less obvious default. 710 if self.asParavirtModes is not None and oTestDrv.fpApiVer >= 4.4:710 if self.asParavirtModes is not None and oTestDrv.fpApiVer >= 5.0: 711 711 asParavirtModes = [sPvMode for sPvMode in oTestVm.asParavirtModesSup if sPvMode in self.asParavirtModes]; 712 712 assert None not in asParavirtModes; 713 elif oTestDrv.fpApiVer >= 4.4:713 elif oTestDrv.fpApiVer >= 5.0: 714 714 asParavirtModes = (oTestVm.asParavirtModesSup[0],); 715 715 assert asParavirtModes[0] is not None; … … 735 735 for sParavirtMode in asParavirtModes: 736 736 if sParavirtMode is not None: 737 assert oTestDrv.fpApiVer >= 4.4;737 assert oTestDrv.fpApiVer >= 5.0; 738 738 reporter.testStart('%s' % ( sParavirtMode, ) ); 739 739 -
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r54938 r55084 1712 1712 """ 1713 1713 try: 1714 if self.fpApiVer >= 4.4:1714 if self.fpApiVer >= 5.0: 1715 1715 oHd = self.oVBox.createMedium(sFmt, sHd, vboxcon.AccessMode_ReadWrite, vboxcon.DeviceType_HardDisk); 1716 1716 else: … … 1732 1732 """ 1733 1733 try: 1734 if self.fpApiVer >= 4.4:1734 if self.fpApiVer >= 5.0: 1735 1735 oHd = self.oVBox.createMedium(sFmt, sHd, vboxcon.AccessMode_ReadWrite, vboxcon.DeviceType_HardDisk); 1736 1736 else: … … 2278 2278 """ 2279 2279 try: 2280 if self.fpApiVer >= 4.4:2280 if self.fpApiVer >= 5.0: 2281 2281 iWidth, iHeight, _, _, _, _ = self.o.console.display.getScreenResolution(iScreenId) 2282 2282 aPngData = self.o.console.display.takeScreenShotToArray(iScreenId, iWidth, iHeight, -
trunk/src/VBox/ValidationKit/tests/storage/tdStorageBenchmark1.py
r54436 r55084 481 481 listNames.append('LUN'); 482 482 483 if self.fpApiVer >= 4.4:483 if self.fpApiVer >= 5.0: 484 484 oHd = oSession.oVBox.createMedium(sDiskFormat, sDiskPath, vboxcon.AccessMode_ReadWrite, \ 485 485 vboxcon.DeviceType_HardDisk); -
trunk/src/VBox/ValidationKit/tests/storage/tdStorageStress1.py
r54437 r55084 354 354 listNames.append('LUN'); 355 355 356 if self.fpApiVer >= 4.4:356 if self.fpApiVer >= 5.0: 357 357 oHd = oSession.oVBox.createMedium(sDiskFormat, sDiskPath1, vboxcon.AccessMode_ReadWrite, \ 358 358 vboxcon.DeviceType_HardDisk);
Note:
See TracChangeset
for help on using the changeset viewer.