VirtualBox

Ignore:
Timestamp:
Nov 13, 2023 3:42:57 PM (14 months ago)
Author:
vboxsync
Message:

added logging to differ beginning and ending of actionConfig, actionExecute functions (tests/unittests/tdUnitTest1.py) and importVBoxApi (testdriver/vbox.py)

File:
1 edited

Legend:

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

    r99818 r102086  
    453453        if False is True: ## @todo r=andy ?? # pylint: disable=comparison-of-constants
    454454            if not self.importVBoxApi():
    455                 reporter.error('Unabled to import the VBox Python API.');
    456455                return False;
    457456        else:
     
    614613    def actionConfig(self):
    615614        # Make sure vboxapi has been imported so we can use the constants.
     615        reporter.log2('actionConfig started\n')
    616616        if not self.importVBoxApi():
    617             return False;
     617            return False
    618618
    619619        # Do the configuring.
     
    633633            return self.oTestVmSet.actionConfig(self, eNic0AttachType = eNic0AttachType,
    634634                                                sDvdImage = self.sVBoxValidationKitIso);
     635        reporter.log2('actionConfig finished\n')
    635636
    636637        return True;
     
    639640        # Make sure vboxapi has been imported so we can execute the driver without going thru
    640641        # a former configuring step.
     642        reporter.log2('actionExecute started\n')
    641643        if not self.importVBoxApi():
     644            reporter.log2('failed to import VBox API while actionExecute\n')
    642645            return False;
    643646        if not self._detectPaths():
     
    671674
    672675            fRc = self._testRunUnitTests(None);
     676        reporter.log2('actionExecute finished\n')
    673677
    674678        return fRc;
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