VirtualBox

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


Ignore:
Timestamp:
Apr 9, 2020 7:01:18 AM (5 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Added the ability to specify local VBoxService builds to get deployed within using the new "--add-guest-ctrl-debug-img" parameter. Helps for having a quicker turnaround time when debugging stuff. Windows version.

File:
1 edited

Legend:

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

    r83636 r83637  
    15441544        try:
    15451545
     1546            self.vboxServiceControl(oTxsSession, oTestVm, fStart = False);
     1547
    15461548            if oTestVm.isLinux():
    15471549                reporter.log('Uploading %s ...' % self.oDebug.sImgPath);
     
    15531555                oTxsSession.syncExec(sFileVBoxServiceGst, (sFileVBoxServiceGst, "-vvvv", "--only-control", \
    15541556                                                           "--logfile", "/tmp/VBoxService-txs.log") );
     1557            elif oTestVm.isWindows():
     1558                reporter.log('Uploading %s ...' % self.oDebug.sImgPath);
     1559                sFileVBoxServiceHst = self.oDebug.sImgPath;
     1560                sFileVBoxServiceGst = os.path.join(SubTstDrvAddGuestCtrl.getGuestSystemDir(oTestVm), 'VBoxService.exe');
     1561                oTxsSession.syncUploadFile(sFileVBoxServiceHst, sFileVBoxServiceGst);
     1562                sPathSC = os.path.join(SubTstDrvAddGuestCtrl.getGuestSystemDir(oTestVm), 'sc.exe');
     1563                oTxsSession.syncExec(sPathSC, (sPathSC, "stop", "VBoxService") );
     1564                time.sleep(5);
     1565                oTxsSession.syncExec(sPathSC, (sPathSC, "start", "VBoxService") );
     1566
    15551567            else: ## @todo Implement others.
    15561568                reporter.log('Debugging not available on this guest OS yet, skipping ...');
     1569
     1570            self.vboxServiceControl(oTxsSession, oTestVm, fStart = True);
    15571571
    15581572        except:
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