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

Make normalization prelude tests import only the package they need #420

Conversation

Nadrieril
Copy link
Member

Right now running those tests takes an eternity because I need to reparse and normalize the whole prelude every time. I've made the tests import only the file they need, like they do in the prelude typechecking tests.

@Nadrieril
Copy link
Member Author

I haven't run all the tests because my implemntation doesn't support everything, but the 51 I could run went fine, so I haven't broken everything.

Gabriella439 added a commit to dhall-lang/dhall-haskell that referenced this pull request Mar 12, 2019
Copy link
Contributor

@Gabriella439 Gabriella439 left a comment

Choose a reason for hiding this comment

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

I verified that the tests still pass for the Haskell implementation. Here is the matching pull request: dhall-lang/dhall-haskell#850

@Gabriella439 Gabriella439 merged commit c21b3f5 into dhall-lang:master Mar 12, 2019
Gabriella439 added a commit to dhall-lang/dhall-haskell that referenced this pull request Mar 12, 2019
@Nadrieril Nadrieril deleted the improve-normalization-tests-prelude-imports branch March 23, 2019 14:03
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.

None yet

2 participants