Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Address deprecation warnings in `haddock-test` (#988) | Alec Theriault | 2018-12-27 | 1 | -1/+1 |
| | | | Fixes #885. | ||||
* | Fix warnings, accept output | Alec Theriault | 2018-12-12 | 1 | -1/+1 |
| | | | | | | | * remove redundant imports (only brought to light due to recent work for improving redundant import detection) * fix a bug that was casuing exports to appear in reverse order * fix something in haddock-library that prevented compilation on old GHC's | ||||
* | Better test output when Haddock crashes on a test (#902) | Alec Theriault | 2018-08-21 | 1 | -2/+2 |
| | | | | | In particular: we report the tests that crashed seperately from the tests that produced incorrect output. In order for tests to pass (and exit 0), they must not crash and must produce the right output. | ||||
* | Let `haddock-test` bypass interface version check (#890) | Alec Theriault | 2018-07-20 | 1 | -0/+1 |
| | | | | | | | | | This means `haddock-test` might * crash during deserialization * deserialize incorrectly Still - it means things _might_ work where they were previously sure not to. | ||||
* | Improved handling of interfaces in 'haddock-test' (#851) | Alec Theriault | 2018-06-14 | 1 | -6/+36 |
| | | | | This should now work with an inplace GHC where (for instance) HTML directories may not be properly recorded in the package DB. | ||||
* | haddock-test: Be more explicit which packages to pass | alexbiehl | 2018-03-02 | 1 | -2/+11 |
| | | | | | | We now pass `-hide-all-packages` to haddock when invoking the testsuite. This ensures we don't accidentally pick up any dependencies up through ghc.env files. | ||||
* | Enable running test suite with stock haddock and ghc using | alexbiehl | 2018-03-02 | 1 | -2/+10 |
| | | | | | | ``` $ cabal new-run -- html-test --haddock-path=$(which haddock) --ghc-path=$(which ghc) ``` | ||||
* | Fix test failures on Windows (#564) | Yuji Yamamoto | 2017-07-03 | 1 | -1/+9 |
| | | | | | | | | | | * Ignore .stack-work * Fix for windows: use nul instead of /dev/null * Fix for windows: canonicalize line separator * Also normalize osx line endings | ||||
* | Travis: Use ghc-8.2.1 on master | alexbiehl | 2017-04-25 | 1 | -5/+12 |
| | |||||
* | Fix haddock-test to work with latest version of Cabal. | Edward Z. Yang | 2017-03-23 | 1 | -1/+1 |
| | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit bf3c4d72a0fda38561376eac7eda216158783267) | ||||
* | testsuite: Rework handling of output sanitization | Ben Gamari | 2016-02-08 | 1 | -1/+5 |
| | | | | | | | | | Previously un-cleaned artifacts were kept as reference output, making it difficult to tell what has changed and causing spurious changes in the version control history. Here we rework this, cleaning the output during acceptance. To accomplish this it was necessary to move to strict I/O to ensure the reference handle was closed before accept attempts to open the reference file. | ||||
* | test: Compatibility with Cabal 1.23 | Ben Gamari | 2015-12-20 | 1 | -2/+6 |
| | |||||
* | Fix test suite failure when used with Stack. | Łukasz Hanuszczak | 2015-08-25 | 1 | -0/+5 |
| | |||||
* | Fix warning about no longer needed definition. | Łukasz Hanuszczak | 2015-08-22 | 1 | -1/+0 |
| | |||||
* | Make test runner ignore test packages with no modules. | Łukasz Hanuszczak | 2015-08-22 | 1 | -1/+1 |
| | |||||
* | Fix path handling in test module loader. | Łukasz Hanuszczak | 2015-08-22 | 1 | -4/+16 |
| | |||||
* | Fix bug with test runner invoking Haddock in incorrect mode. | Łukasz Hanuszczak | 2015-08-22 | 1 | -2/+0 |
| | |||||
* | Make it possible to specify ignored files for test output. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+2 |
| | |||||
* | Fix path handling in test runner. | Łukasz Hanuszczak | 2015-08-22 | 1 | -15/+10 |
| | |||||
* | Make Haddock test package more generic. | Łukasz Hanuszczak | 2015-08-22 | 1 | -16/+34 |
| | |||||
* | Implement output accepting mechanism in test package. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+6 |
| | |||||
* | Remove no longer useful test option. | Łukasz Hanuszczak | 2015-08-22 | 1 | -7/+0 |
| | |||||
* | Adjust module visibility and items they export. | Łukasz Hanuszczak | 2015-08-22 | 1 | -1/+6 |
| | |||||
* | Create convenience wrappers to simplify in test entry points. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+4 |
| | |||||
* | Make Haddock test package more generic. | Łukasz Hanuszczak | 2015-08-22 | 1 | -7/+19 |
| | |||||
* | Move IO-dependent config of HTML test suite to test package. | Łukasz Hanuszczak | 2015-08-22 | 1 | -2/+143 |
| | |||||
* | Create utilities for storing directory configuration. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+22 |
| | |||||
* | Refactor HTML test suite boilerplate to external package. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+70 |