aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Let `haddock-test` bypass interface version check (#890)Alec Theriault2018-07-201-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 Theriault2018-06-141-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 passalexbiehl2018-03-021-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 usingalexbiehl2018-03-021-2/+10
| | | | | | ``` $ cabal new-run -- html-test --haddock-path=$(which haddock) --ghc-path=$(which ghc) ```
* Fix test failures on Windows (#564)Yuji Yamamoto2017-07-032-1/+16
| | | | | | | | | | * 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 masteralexbiehl2017-04-251-5/+12
|
* Fix haddock-test to work with latest version of Cabal.Edward Z. Yang2017-03-231-1/+1
| | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit bf3c4d72a0fda38561376eac7eda216158783267)
* haddock-test: A bit of refactoring for debuggabilityBen Gamari2016-05-101-0/+1
|
* testsuite: Rework handling of output sanitizationBen Gamari2016-02-081-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.23Ben Gamari2015-12-201-2/+6
|
* Fix test suite failure when used with Stack.Łukasz Hanuszczak2015-08-251-0/+5
|
* Fix bug with accepting to non-existing directory.Łukasz Hanuszczak2015-08-241-0/+7
|
* Remove redundant import statement.Łukasz Hanuszczak2015-08-221-1/+0
|
* Refactor existing code to use XHTML printer instead of XML one.Łukasz Hanuszczak2015-08-221-20/+21
|
* Create helper function for conversion between XML and XHTML.Łukasz Hanuszczak2015-08-221-0/+19
|
* Fix warning about no longer needed definition.Łukasz Hanuszczak2015-08-221-1/+0
|
* Fix bug with unnecessary checking old test output.Łukasz Hanuszczak2015-08-221-0/+10
|
* Make test runner ignore test packages with no modules.Łukasz Hanuszczak2015-08-221-1/+1
|
* Fix path handling in test module loader.Łukasz Hanuszczak2015-08-221-4/+16
|
* Fix bug with test runner invoking Haddock in incorrect mode.Łukasz Hanuszczak2015-08-221-2/+0
|
* Make it possible to specify ignored files for test output.Łukasz Hanuszczak2015-08-221-0/+2
|
* Fix path handling in test runner.Łukasz Hanuszczak2015-08-221-15/+10
|
* Make Haddock test package more generic.Łukasz Hanuszczak2015-08-221-16/+34
|
* Create utility function for recursive obtaining directory contents.Łukasz Hanuszczak2015-08-221-0/+25
|
* Implement output accepting mechanism in test package.Łukasz Hanuszczak2015-08-221-0/+6
|
* Implement utility functions for conditional link stripping.Łukasz Hanuszczak2015-08-221-5/+22
|
* Refactor and simplify XHTML helper module of test package.Łukasz Hanuszczak2015-08-221-16/+24
|
* Remove no longer useful test option.Łukasz Hanuszczak2015-08-221-7/+0
|
* Adjust module visibility and items they export.Łukasz Hanuszczak2015-08-221-1/+6
|
* Create convenience wrappers to simplify in test entry points.Łukasz Hanuszczak2015-08-221-0/+4
|
* Make Haddock test package more generic.Łukasz Hanuszczak2015-08-221-7/+19
|
* Move IO-dependent config of HTML test suite to test package.Łukasz Hanuszczak2015-08-221-2/+143
|
* Create utilities for storing directory configuration.Łukasz Hanuszczak2015-08-221-0/+22
|
* Refactor HTML test suite boilerplate to external package.Łukasz Hanuszczak2015-08-224-0/+176