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

Test plan for nix-local-build #3322

Open
3 tasks
ezyang opened this issue Apr 12, 2016 · 3 comments
Open
3 tasks

Test plan for nix-local-build #3322

ezyang opened this issue Apr 12, 2016 · 3 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Apr 12, 2016

nix-local-build needs integration tests. Here are some of the tests I'd like to see, but please edit this ticket to add more.

  • Single package without cabal.project, with dependencies on Hackage packages
  • Simple cabal.project with multiple packages which depend on each other and depend on Hackage packages. If you build with --ghc-option, does this apply to local packages only and not Hackage packages?
  • Vendor a package which exists on Hackage. The install plan should include both remote and local packages which depend on the vendored package. The vendored package should be tested with a version number that is the same as an existing Hackage upload, as well as a version number that is distinct from all Hackage uploads. The test should check that everything that depends on the vendored package is installed inplace only.
@ezyang
Copy link
Contributor Author

ezyang commented Apr 12, 2016

CC @dcoutts, @23Skidoo

@dcoutts
Copy link
Contributor

dcoutts commented May 11, 2016

Started adding some in #3416

@jneira
Copy link
Member

jneira commented May 18, 2022

I wonder I those tests are still missing, the cabal test suite already contains quite integration tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants