forked from idris-lang/Idris-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hook the new test infrastructure to cabal
- A test hook in `Setup.hs` allows using the new test infrastructure with `cabal test`. Without it, cabal couldn't find the idris libraries. - Make rules related to testing now call `cabal test`. - The `test_timed` rule is removed because timings are given by default - We introduce the `test_update` rule to update the golden files - We introduce the `test_clean` rule to remove artifacts created when running the test suite. This is far from perfect ; a careful `git clean -f` should remove whatever is left - The TEST-JOBS variable specifies the number of parallel jobs to the test program. By default, it relies on the Haskell RTS to find an optimal number. Set to 1 to disable parallelism. - The TEST-ARGS variable can be used to pass arguments to the test program. - Travis CI uses the new infrasctructure. It uses `travis_wait` to prevent timeouts because cabal only prints the output when the test suite is done running.
- Loading branch information
1 parent
54b94b9
commit 5186d6c
Showing
4 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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