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

stack test --no-run-tests logging output says "test running disabled by --no-tests flag" #537

Closed
pharpend opened this issue Jul 7, 2015 · 1 comment

Comments

@pharpend
Copy link
Contributor

pharpend commented Jul 7, 2015

I think this is a typo:

[src/comarkdown master] % stack test --no-run-tests                                                 pete@locust
comarkdown-0.1.0.0: build (test)
Preprocessing library comarkdown-0.1.0.0...
In-place registering comarkdown-0.1.0.0...
Preprocessing test suite 'spec' for comarkdown-0.1.0.0...
[6 of 7] Compiling HeaderSpec       ( spec/HeaderSpec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec-tmp/HeaderSpec.o )
[7 of 7] Compiling Main             ( spec/Spec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec-tmp/Main.o ) [HeaderSpec changed]
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec ...
comarkdown-0.1.0.0: Test running disabled by --no-tests flag.
stack test --no-run-tests  6.01s user 1.74s system 126% cpu 6.127 total
@snoyberg
Copy link
Contributor

snoyberg commented Jul 7, 2015

Can you send a PR for this?

On Tue, Jul 7, 2015, 3:07 AM Peter Harpending [email protected]
wrote:

I think this is a typo:

[src/comarkdown master] % stack test --no-run-tests pete@locust
comarkdown-0.1.0.0: build (test)
Preprocessing library comarkdown-0.1.0.0...
In-place registering comarkdown-0.1.0.0...
Preprocessing test suite 'spec' for comarkdown-0.1.0.0...
[6 of 7] Compiling HeaderSpec ( spec/HeaderSpec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec-tmp/HeaderSpec.o )
[7 of 7] Compiling Main ( spec/Spec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec-tmp/Main.o ) [HeaderSpec changed]
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/spec/spec ...
comarkdown-0.1.0.0: Test running disabled by --no-tests flag.
stack test --no-run-tests 6.01s user 1.74s system 126% cpu 6.127 total


Reply to this email directly or view it on GitHub
#537.

chrisdone added a commit that referenced this issue Jul 7, 2015
dysinger added a commit that referenced this issue Jul 8, 2015
* master:
  #279 Add retries (default 3) to verifiedDownload
  Upper limit on number of flag combinations to test #543
  Flip order of build and test/bench opts parser
  Move `boptsCoverage` and `boptsNoTests` to `TestOpts`
  Replace `boptsAdditionalArgs` with fields in `FinalAction`
  Add benchmark and test options to FinalAction
  Implement `stack bench --benchmark-arguments`
  Fix #537
  Targets outside of root dir don't build (fixes #366)
  Add changelog for #517
  Add --no-run-tests parameter to stack test.
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

2 participants