VirtualBox

Changeset 98270 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 24, 2023 9:54:55 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155473
Message:

Validation Kit/Guest Control: Got rid of the '--add-guest-ctrl-debug-no-exit' option, as we now have the generic test driver option '--vbox-vm-no-terminate'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r98103 r98270  
    14051405        self.sVBoxServiceExeHst = sVBoxServiceExeHst;
    14061406        self.sGstVBoxServiceLogPath = '';
    1407         self.fNoExit = False;
    14081407
    14091408class SubTstDrvAddGuestCtrl(base.SubTestDriverBase):
     
    14551454            self.oDebug.sVBoxServiceExeHst = asArgs[iArg];
    14561455            return iNext;
    1457         if asArgs[iArg] == '--add-guest-ctrl-debug-no-exit':
    1458             self.oDebug.fNoExit = True;
    1459             return iArg + 1;
    14601456        return iArg;
    14611457
     
    14691465        reporter.log('  --add-guest-ctrl-debug-img');
    14701466        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');
    14731467        return True;
    14741468
     
    54325426        reporter.log("TxsSession: %s" % (oTxsSession,));
    54335427        if oSession is not None:
    5434 
    54355428            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);
    54415430        else:
    54425431            fRc = False;
     
    54445433
    54455434    def onExit(self, iRc):
    5446         if self.aoSubTstDrvs[0].oDebug.fNoExit:
    5447             return True
    54485435        return vbox.TestDriver.onExit(self, iRc);
    54495436
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette