-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Move test utilities to the query pack. #17968
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
|
DCA looks good. |
6d8ef2d to
b9625dd
Compare
|
Should this be done for Go as well? (Not necessarily in this PR.) |
Yes, we should do it for all languages, if we agree that this is an acceptable approach. I intend to do it for all languages in this PR, if there are no objections :-) |
hvitved
left a comment
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.
LGTM
|
Putting in draft while making the corresponding changes for the other languages. |
b9625dd to
da27956
Compare
f46b0b0 to
0bfc1b6
Compare
|
Setting ready for review again.
|
geoffw0
left a comment
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.
CPP, Swift, Rust LGTM.
Yes it's an issue that came up yesterday afternoon. I believe it's fixed now on latest |
egregius313
left a comment
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.
Static languages LGTM
RasmusWL
left a comment
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.
Python 👍
In this PR the test utilities are moved from the test QL packs into the
codeql/<language>-queriesQL packs.We are in the process of moving the experimental queries from the Code QL repo to the CodeQL-Community-Packs repo, and some of the tests for the experimental queries are relying on the test utilities, which currently aren't being published.
As a temporary workaround a copy of the test utilities are added to the CodeQL-Community-Pack, but we should publish the test utilities to enable sharing.
Moving the test utilities for all languages for consistency.