VirtualBox

Changeset 94396 in vbox for trunk


Ignore:
Timestamp:
Mar 30, 2022 9:17:35 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/unit tests: More fixes for remote execution. bugref:10195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r94127 r94396  
    509509            self.sUnitTestsPathSrc = asArgs[iArg];
    510510            self.sMode = 'remote-exec';
     511            reporter.log('Unittest source explicitly set to "%s"' % (self.sUnitTestsPathSrc));
    511512        elif asArgs[iArg] == '--only-whitelist':
    512513            self.fOnlyWhiteList = True;
     
    518519                raise base.InvalidOption('Option "%s" needs a value' % (asArgs[iArg - 1]));
    519520            self.sVBoxInstallRoot = asArgs[iArg];
     521            reporter.log('VBox installation root explicitly set to "%s"' % (self.sVBoxInstallRoot));
    520522        else:
    521523            return vbox.TestDriver.parseOption(self, asArgs, iArg);
     
    556558
    557559    def actionExecute(self):
    558         if self.sUnitTestsPathSrc is None and not self._detectPaths():
    559             return False;
     560        if self.sUnitTestsPathSrc is None:
     561            if not self._detectPaths():
     562                return False;
    560563        reporter.log2('Unit test source path is "%s"\n' % self.sUnitTestsPathSrc);
    561564
     
    788791        if self.sMode.startswith('remote'):
    789792            if self.sMode == 'remote-exec':
    790                 self.oTxsSession.txsCopyFile(self.oSession, self.oTxsSession, sSrc, sDst, iMode);
     793                self.txsCopyFile(self.oSession, self.oTxsSession, sSrc, sDst, iMode);
    791794            else:
    792795                fRc = self.txsUploadFile(self.oSession, self.oTxsSession, sSrc, sDst);
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