-
Notifications
You must be signed in to change notification settings - Fork 417
Search for run names. #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
21e5af9
to
4d42da6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case we want a prefix search LGTM!
q = session.query(Run, stmt.c.report_count) | ||
|
||
if run_name_filter is not None: | ||
q = q.filter(Run.name.like(run_name_filter + '%')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we are doing a prefix search?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we shan't. 🙁 Infix searching could be more appropriate, especially for the naming conventions used internally. :/
|
||
this._runFilter = new TextBox({ | ||
id : 'runs-filter', | ||
placeHolder : 'Run name filter...', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a better placeholder would be Search for runs...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with infix/substring searching, instead of prefix ones.
print('Running ' + test_class + ' tests in ' + test_workspace) | ||
|
||
# Get the clang version which is tested. | ||
self._clang_to_test = env.clang_to_test() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variables in the tests could be cleaned up.
d47cf59
to
6c167b7
Compare
4d42da6
to
18c18a7
Compare
18c18a7
to
6176005
Compare
Fixes #733