Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Test
clean
task in CI #896Test
clean
task in CI #896Changes from 10 commits
6efb5d5
0ad270e
9989d4d
3aba707
d47b934
39b8db6
17b2897
9014054
cd35413
a7f4aca
52981d7
0b1e15c
6c86fdc
9f3d2a7
a90de5d
4e2a80d
84fe295
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Is there any benefit to also test this here? Isn't it enough to test in the
junit
script?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.
I think :checker:examplesTests are tests run makefiles
checker-framework/checker/build.gradle
Line 305 in 304e999
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.
Can you elaborate a bit what your point is?
We already test running
./gradlew clean
injunit
above. Do you want to clean at the end of every test? Or why is:checker:examplesTests
relevant for whether we callclean
here?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.
I think Junit test doesn't contain makefile tests such as
exampleTests
, is that correct? BecauseexampleTests
are the tests for makefiles and./gradlew clean
will also run make clean for makefile tests. I just want to make it works after we actual run makefile tests in CI.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.
There are no tests that actually ensure that
clean
cleaned up everything - so you won't know whether this call toclean
actually removed all files that were generated fromexampleTests
.So what do you learn from calling
clean
here?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.
okay, I will clean up them. Thanks!