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

Remove warning about empty packages pre 3.0 #5120

Merged
1 commit merged into from Nov 9, 2021
Merged

Remove warning about empty packages pre 3.0 #5120

1 commit merged into from Nov 9, 2021

Conversation

ghost
Copy link

@ghost ghost commented Nov 9, 2021

The testsuite is broken following #4867. Also, I didn't noticed but some tests ended being updated in a way that they didn't test what they were originally testing.

I tried to update tests but it was a pain so I removed the warning pre 3.0 and also set allow_empty to true for packages defined by an opam file rather than a package stanza. This makes the behaviour more conservative.

However, we still need a cram test for #4867.

@ghost ghost requested a review from rgrinberg November 9, 2021 04:10
@ghost
Copy link
Author

ghost commented Nov 9, 2021

Most of it is a revert of the changes to the testsuite in #4861. Merging as the testsuite is currently broken.

@ghost ghost merged commit 069a843 into ocaml:main Nov 9, 2021
Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

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

Thanks.

src/dune_engine/package.ml Show resolved Hide resolved
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants