VirtualBox

Ignore:
Timestamp:
Feb 24, 2022 8:18:36 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit: Extended unit test test driver so that it also allows running directly off a remote location (i.e. Validation Kit .ISO, if included). Useful for testing cross arch unit tests (i.e. host 64-bit, guest 32-bit) See command line help / comments for more [pylint]. bugref:10195

File:
1 edited

Legend:

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

    r93903 r93904  
    596596        reporter.log('             Mode: %s' % (self.sMode));
    597597        reporter.log('Unit tests source: %s %s' % (self.sUnitTestsPathSrc, \
    598                     '(on remote)' if self.sMode is 'remote-exec' else ''));
     598                    '(on remote)' if self.sMode == 'remote-exec' else ''));
    599599        reporter.log('VBox install root: %s %s' % (self.sVBoxInstallRoot, \
    600                      '(on remote)' if self.sMode is 'remote-exec' else ''));
     600                     '(on remote)' if self.sMode == 'remote-exec' else ''));
    601601        reporter.log('*********************************************************');
    602602        reporter.log('***  PASSED: %d' % self.cPassed);
     
    10721072                ## @todo Implement remote file enumeration / directory listing.
    10731073                reporter.error('Sorry, no remote file enumeration implemented yet!\nUse --only-whitelist instead.');
    1074                 return False;
     1074                return;
    10751075        else:
    10761076            # Transform our dict into a list, where the keys are the list elements.
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