Repository navigation
[ fix #5302 ] make 'cabal test' work for part of the test-suite - #5536
Merged
Merged
Conversation
andreasabel
force-pushed
the
issue5302
branch
3 times, most recently
from
August 26, 2021 20:08
053d27b to
a50cd27
Compare
'cabal test' will run only the tests defined by 'agda-tests'
Member
Author
|
Seems like I am stuck on haskell/cabal#7577 (comment): the executable built with A workaround for CI ( |
An attempt to get `cabal test` to run after *installing* Agda rather than just building it.
Mainly for CI, so that we do not have to install LaTeX.
Do not work out of the box, need installation of the stdlib (for `Everything.agda`).
Cabal removes lower-case vowels from package names on macOS, see haskell/cabal#7209. Thus Agda might be just Agd in error messages reporting source locations.
The testsuite fails but does not display diffs. tasty-silver might not yet be portable, see agda/tasty-silver#16
Member
Author
Implemented this workaround. For running the testsuite on Windows, agda/tasty-silver#16 might be a show-stopper for now. |
Correct reference is `v1-install` in `cabal v1-install --run-tests`.
andreasabel
added a commit
that referenced
this pull request
Nov 17, 2021
* [ fix #5302 ] make 'cabal test' work for part of the test-suite 'cabal test' will run only the tests defined by 'agda-tests' * [ #5302 ] CI: work around haskell/cabal#7577 An attempt to get `cabal test` to run after *installing* Agda rather than just building it. * [ #5302 ] disable latex-tests for `cabal test` Mainly for CI, so that we do not have to install LaTeX. * [ #5302 ] disable compiler-stdlib tests for `cabal test` Do not work out of the box, need installation of the stdlib (for `Everything.agda`). * [ #5302 ] CI: `cabal test` also on macOS and Windows * [ #5302 ] `cabal test` macOS: work around haskell/cabal#7209 Cabal removes lower-case vowels from package names on macOS, see haskell/cabal#7209. Thus Agda might be just Agd in error messages reporting source locations. * [ #5302 ] giving up on `cabal test` under Windows The testsuite fails but does not display diffs. tasty-silver might not yet be portable, see agda/tasty-silver#16 * [ #5302 ] fix the alert printed by `cabal test` Correct reference is `v1-install` in `cabal v1-install --run-tests`. * PR #5536: final polishing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[ fix #5302 ] make
cabal testwork for part of the test-suitecabal testwill run only some of the tests defined byagda-tests