Changeset 98270 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jan 24, 2023 9:54:55 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155473
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r98103 r98270 1405 1405 self.sVBoxServiceExeHst = sVBoxServiceExeHst; 1406 1406 self.sGstVBoxServiceLogPath = ''; 1407 self.fNoExit = False;1408 1407 1409 1408 class SubTstDrvAddGuestCtrl(base.SubTestDriverBase): … … 1455 1454 self.oDebug.sVBoxServiceExeHst = asArgs[iArg]; 1456 1455 return iNext; 1457 if asArgs[iArg] == '--add-guest-ctrl-debug-no-exit':1458 self.oDebug.fNoExit = True;1459 return iArg + 1;1460 1456 return iArg; 1461 1457 … … 1469 1465 reporter.log(' --add-guest-ctrl-debug-img'); 1470 1466 reporter.log(' Sets VBoxService image to deploy for debugging'); 1471 reporter.log(' --add-guest-ctrl-debug-no-exit');1472 reporter.log(' Does not tear down and exit the test driver after running the tests');1473 1467 return True; 1474 1468 … … 5432 5426 reporter.log("TxsSession: %s" % (oTxsSession,)); 5433 5427 if oSession is not None: 5434 5435 5428 fRc, oTxsSession = self.aoSubTstDrvs[0].testIt(oTestVm, oSession, oTxsSession); 5436 5437 if self.aoSubTstDrvs[0].oDebug.fNoExit: 5438 self.sleep(60 * 60 * 1000); # Leave the VM session open for manual inspection / debugging. 5439 else: 5440 self.terminateVmBySession(oSession); 5429 self.terminateVmBySession(oSession); 5441 5430 else: 5442 5431 fRc = False; … … 5444 5433 5445 5434 def onExit(self, iRc): 5446 if self.aoSubTstDrvs[0].oDebug.fNoExit:5447 return True5448 5435 return vbox.TestDriver.onExit(self, iRc); 5449 5436
Note:
See TracChangeset
for help on using the changeset viewer.