VirtualBox

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


Ignore:
Timestamp:
Jan 19, 2017 1:55:06 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112968
Message:

ValidationKit: Some logging when RTLdrFlt couldn't be found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/btresolver.py

    r65371 r65374  
    187187        try:
    188188            #
    189             # Walk the build root directory and look for .dSYM directories, building a
     189            # Walk the scratch path directory and look for .dSYM directories, building a
    190190            # list of them.
    191191            #
    192192            asDSymPaths = [];
    193193
    194             for sDirPath, asDirs, _ in os.walk(self.sBuildRoot):
     194            for sDirPath, asDirs, _ in os.walk(self.sScratchPath):
    195195                for sDir in asDirs:
    196196                    if sDir.endswith('.dSYM'):
     
    498498        self.sScratchDbgPath = os.path.join(self.sScratchPath, 'dbgsymbols');
    499499
     500        if self.fnLog is None:
     501            self.fnLog = self.logStub;
     502
    500503        if self.sRTLdrFltPath is None:
    501504            self.sRTLdrFltPath = getRTLdrFltPath([self.sScratchPath, self.sBuildRoot]);
    502 
    503         if self.fnLog is None:
    504             self.fnLog = self.logStub;
     505            if self.sRTLdrFltPath is not None:
     506                self.log('Found RTLdrFlt in %s' % (self.sRTLdrFltPath,));
     507            else:
     508                self.log('Couldn\'t find RTLdrFlt in either %s or %s' % (self.sScratchPath, self.sBuildRoot));
    505509
    506510    def log(self, sText):
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette