Changeset 84323 in vbox
- Timestamp:
- May 15, 2020 6:22:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py
r84322 r84323 190 190 if oRegExp.match(os.path.basename(s)) 191 191 and os.path.exists(sTestBuildDir + '/' + s)); 192 asFiles = sorted(asFiles, reverse = True, key = lambda s: os.path.getmtime(os.path.join(sTestBuildDir, s))); 192 asFiles = sorted(asFiles, reverse = True, 193 key = lambda s, sTstBuildDir = sTestBuildDir: os.path.getmtime(os.path.join(sTstBuildDir, s))); 193 194 if asFiles: 194 195 return sTestBuildDir + '/' + asFiles[0]; … … 196 197 pass; 197 198 198 reporter.error('Failed to find a file matching "%s" in %s.' % (sRegExp, sTestBuildDir));199 reporter.error('Failed to find a file matching "%s" in %s.' % (sRegExp, ','.join(asTestBuildDirs))); 199 200 return None; 200 201
Note:
See TracChangeset
for help on using the changeset viewer.