Skip to content

Conversation

@RasmusWL
Copy link
Member

The ones in test/experimental/dataflow/[consistency,regression]/test.py was a copy from test/library-tests/taint/dataflow/test.py.

However, test/library-tests/taint/dataflow/test.py only contains a subset of test/library-tests/taint/config/test.py, that only contains a subset of test/library-tests/taint/general/test.py

This commit updates the experimental dataflow tests to be a copy of the test/library-tests/taint/general/test.py file.

There seems to have been a few changes to the file after it being copied, in test_truth and test_early_exit. I have no reproduced those changes.

I did not verify whether these changes are OK or not, simply ran and accepted the tests.

@yoff I hope you will take over this PR and see whether it makes sense to add the new tests cases, and whether the results look reasonable or not. 🙏

The ones in test/experimental/dataflow/[consistency,regression]/test.py was a
copy from test/library-tests/taint/dataflow/test.py.

However, test/library-tests/taint/dataflow/test.py only contains a subset of
test/library-tests/taint/config/test.py, that only contains a subset of
test/library-tests/taint/general/test.py

This commit updates the experimental dataflow tests to be a copy of the
test/library-tests/taint/general/test.py file.

There seems to have been a few changes to the file after it being copied, in
`test_truth` and `test_early_exit`. I have no reproduced those changes.
I did not verify whether these changes are OK or not, simply ran and accepted
the tests.
@RasmusWL RasmusWL requested a review from yoff August 27, 2020 14:20
yoff
yoff previously approved these changes Sep 3, 2020
Copy link
Contributor

@yoff yoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM now..

@RasmusWL
Copy link
Member Author

RasmusWL commented Sep 3, 2020

@yoff I don't know if this happened before or after we talked about always using import python at the top of a query, but just a reminder about getting into the habit -- since I had to fix that after merging 😊

@RasmusWL RasmusWL requested a review from yoff September 3, 2020 13:06
@RasmusWL RasmusWL marked this pull request as ready for review September 3, 2020 13:06
@RasmusWL RasmusWL requested a review from a team as a code owner September 3, 2020 13:06
Copy link
Contributor

@yoff yoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yoff yoff merged commit 7a00fbc into github:main Sep 4, 2020
@RasmusWL RasmusWL deleted the python-more-complete-dataflow-tests branch September 4, 2020 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants