VirtualBox

Ignore:
Timestamp:
Aug 5, 2019 11:06:37 AM (5 years ago)
Author:
vboxsync
Message:

vsheriff: Better detect VM process SIGSEGVs. [3rd try]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testresults.py

    r79919 r80128  
    220220        Get a list of test results instances actually contributing to cErrors.
    221221
    222         Returns a list of TestResultDataEx instance from this tree. (shared!)
     222        Returns a list of TestResultDataEx instances from this tree. (shared!)
    223223        """
    224224        # Check each child (if any).
     
    233233        if self.cErrors > cChildErrors:
    234234            aoRet.append(self);
     235
     236        return aoRet;
     237
     238    def getListOfLogFilesByKind(self, asKinds):
     239        """
     240        Get a list of test results instances actually contributing to cErrors.
     241
     242        Returns a list of TestResultFileDataEx instances from this tree. (shared!)
     243        """
     244        aoRet = [];
     245
     246        # Check the children first.
     247        for oChild in self.aoChildren:
     248            aoRet.extend(oChild.getListOfLogFilesByKind(asKinds));
     249
     250        # Check our own files next.
     251        for oFile in self.aoFiles:
     252            if oFile.sKind in asKinds:
     253                aoRet.append(oFile);
    235254
    236255        return aoRet;
     
    402421    ksKind_LogDebugVm           = 'log/debug/vm';
    403422    ksKind_LogReleaseSvc        = 'log/release/svc';
    404     ksKind_LogRebugSvc          = 'log/debug/svc';
     423    ksKind_LogDebugSvc          = 'log/debug/svc';
    405424    ksKind_LogReleaseClient     = 'log/release/client';
    406425    ksKind_LogDebugClient       = 'log/debug/client';
     
    427446        ksKind_LogDebugVm,
    428447        ksKind_LogReleaseSvc,
    429         ksKind_LogRebugSvc,
     448        ksKind_LogDebugSvc,
    430449        ksKind_LogReleaseClient,
    431450        ksKind_LogDebugClient,
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