Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | more test output improvements | Joey Hess | 2013-02-28 |
| | |||
* | improve test output | Joey Hess | 2013-02-27 |
| | |||
* | Android: Enable test suite. | Joey Hess | 2013-02-27 |
| | |||
* | Stop depending on testpack. | Joey Hess | 2013-02-27 |
| | |||
* | improve imports | Joey Hess | 2013-02-27 |
| | |||
* | move Arbitrary instances out of Test and into modules that define the types | Joey Hess | 2013-02-27 |
| | | | | This is possible now that we build-depend on QuickCheck. | ||
* | break dependency cycle by special casing running of test command | Joey Hess | 2013-02-27 |
| | |||
* | embed test suite into git annex; available by running: git annex test | Joey Hess | 2013-02-27 |
I have seen some other programs do this, and think it's pretty cool. Means you can test wherever it's deployed, as well as at build time. My other reason for doing it is less happy. Cabal's handling of test suites sucks, requiring duplicated info, and even when that's done, it fails to preprocess hsc files here. Building it in avoids that and avoids having to explicitly tell cabal to enable test suites, which would then make it link the test executable every time, which is unnecessarily slow. This also has the benefit that now "make fast test" does a max speed build and tests it. |