Changeset 84559 in vbox for trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py
- Timestamp:
- May 27, 2020 12:34:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py
r84324 r84559 1206 1206 vbox.TestDriver.__init__(self); 1207 1207 self.asRsrcs = None; 1208 self.asTestVMsDef = [self.ksOs Windows, self.ksOsLinux];1208 self.asTestVMsDef = [self.ksOsLinux, self.ksOsWindows]; 1209 1209 self.asTestVMs = self.asTestVMsDef; 1210 1210 self.asSkipVMs = []; … … 1435 1435 return fRc; 1436 1436 1437 def deleteVM(self, oVM): 1438 try: self.oVBox.unregisterMachine(oVM.id); 1439 except: pass; 1440 if self.fpApiVer >= 4.0: 1441 try: 1442 if self.fpApiVer >= 4.3: 1443 oProgress = oVM.deleteConfig([]); 1444 else: 1445 oProgress = oVM.delete(None); 1446 self.waitOnProgress(oProgress); 1447 except: 1448 reporter.logXcpt(); 1449 else: 1450 try: oVM.deleteSettings(); 1451 except: reporter.logXcpt(); 1452 return None; 1453 1437 1454 def testAutostartOneCfg(self, sVmName): 1438 1455 """ … … 1463 1480 if oSession is not None: 1464 1481 fRc = self.testAutostartRunProgs(oSession, sVmName, oVM); 1465 self.terminateVmBySession(oSession) 1482 self.terminateVmBySession(oSession); 1483 self.deleteVM(oVM); 1466 1484 else: 1467 1485 fRc = False;
Note:
See TracChangeset
for help on using the changeset viewer.