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

Run interpreted tests #2068

Open
ttuegel opened this issue Aug 28, 2014 · 4 comments
Open

Run interpreted tests #2068

ttuegel opened this issue Aug 28, 2014 · 4 comments
Labels
Cabal: cmd/test can-workaround There is a (maybe partial) workaround for the issue or missing feature old-milestone: ⊥ Moved from https://github.com/haskell/cabal/milestone/5 type: enhancement
Milestone

Comments

@ttuegel
Copy link
Member

ttuegel commented Aug 28, 2014

@ezyang suggested in #2058 that a flag (such as --interpreted) be added to cabal test which would make Cabal run the test suites through the interpreter, rather than recompiling them. This will be faster in many instances because it avoids linking. We should not do this for benchmarks, because interpreted code isn't optimized.

@bitemyapp
Copy link
Contributor

@ttuegel are there any existing examples of using the interpreter to run project code?

@ttuegel
Copy link
Member Author

ttuegel commented Oct 11, 2014

I am not aware of any examples.

@ttuegel ttuegel added this to the cabal-install-1.24 milestone Apr 24, 2015
@23Skidoo 23Skidoo modified the milestones: cabal-install 1.24, cabal-install 1.26 Feb 21, 2016
@ezyang
Copy link
Contributor

ezyang commented Aug 16, 2016

Note that you can repl the test suite, which is almost as good.

@ezyang ezyang modified the milestones: cabal-install 2.0, _|_ Aug 16, 2016
@jneira
Copy link
Member

jneira commented Sep 4, 2021

not sure if it worths to keep this feature request open, given the las comment

@fgaz fgaz added the can-workaround There is a (maybe partial) workaround for the issue or missing feature label Sep 11, 2021
@andreabedini andreabedini added the old-milestone: ⊥ Moved from https://github.com/haskell/cabal/milestone/5 label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cabal: cmd/test can-workaround There is a (maybe partial) workaround for the issue or missing feature old-milestone: ⊥ Moved from https://github.com/haskell/cabal/milestone/5 type: enhancement
Projects
None yet
Development

No branches or pull requests

7 participants