Skip to content
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

Python: Add failing ESSA use-use test #10998

Merged
merged 2 commits into from Oct 31, 2022
Merged

Conversation

RasmusWL
Copy link
Member

@RasmusWL RasmusWL commented Oct 26, 2022

I initially created this as a dataflow test, but then realized it could just be an ESSA test. I couldn't find any existing ESSA tests though :| so created a new dir for it.

@yoff let me know if you think this should actually be under our dataflow tests, since the adjacent use-use was only added to serve the new dataflow lib.

I initially created this as a dataflow test, but then realized it could
just be an ESSA test. I cound't find any existing ESSA tests though :|
so created a new dir for it.
@RasmusWL RasmusWL requested a review from a team as a code owner Oct 26, 2022
tausbn
tausbn previously approved these changes Oct 26, 2022
Copy link
Contributor

@tausbn tausbn left a comment

I think this looks reasonable (but I'll hold off on merging so yoff can have a gander). 👍

Copy link
Contributor

@yoff yoff left a comment

Super nice to have this test! 👍
Only reason I mention changes is that it looks different from the code in data flow and I had to remind myself that it does the same thing.

I think it is fine to keep the test here by the predicates they test.

python/ql/test/library-tests/essa/ssa-compute/UseUse.ql Outdated Show resolved Hide resolved
python/ql/test/library-tests/essa/ssa-compute/UseUse.ql Outdated Show resolved Hide resolved
Co-authored-by: yoff <lerchedahl@gmail.com>
@RasmusWL RasmusWL requested a review from yoff Oct 28, 2022
yoff
yoff approved these changes Oct 28, 2022
Copy link
Contributor

@yoff yoff left a comment

LGTM

@RasmusWL RasmusWL merged commit ead0844 into github:main Oct 31, 2022
7 checks passed
@RasmusWL RasmusWL deleted the essa-use-use-test branch Oct 31, 2022
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants