Changeset 65864 in vbox for trunk/src/VBox/ValidationKit/testmanager/core
- Timestamp:
- Feb 23, 2017 4:27:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testresults.py
r65496 r65864 866 866 sQuery += '%s AND %s (' % (sExtraIndent, sNot,); 867 867 if len(sLike) <= 3: # do word matching for small substrings (hw, np, smp, uni, ++). 868 sQuery += 'TestCases.sName ~ \'.*\\y%s\\y.*\' OR TestCaseArgs.sSubName ~ \'.*\\y%s\\y.*\')\n' \ 868 sQuery += 'TestCases.sName ~ \'.*\\y%s\\y.*\' ' \ 869 'OR COALESCE(TestCaseArgs.sSubName, \'\') ~ \'.*\\y%s\\y.*\')\n' \ 869 870 % ( sLike, sLike,); 870 871 else: 871 sQuery += 'TestCases.sName LIKE \'%%%s%%\' OR TestCaseArgs.sSubName LIKE \'%%%s%%\')\n' \ 872 sQuery += 'TestCases.sName LIKE \'%%%s%%\' ' \ 873 'OR COALESCE(TestCaseArgs.sSubName, \'\') LIKE \'%%%s%%\')\n' \ 872 874 % ( sLike, sLike,); 873 875 elif iCrit == self.kiTestboxMisc:
Note:
See TracChangeset
for help on using the changeset viewer.