aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src
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.
* Refactor handling of parens in types (#874)Alec Theriault2018-07-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Fix type parenthesization in Hoogle backend Ported the logic in the HTML and LaTeX backends for adding in parens into something top-level in 'GhcUtil'. Calling that from the Hoogle backend fixes #873. * Remove parenthesizing logic from LaTeX and XHTML backends Now, the only times that parenthesis in types are added in any backend is through the explicit 'HsParTy' constructor. Precedence is also represented as its own datatype. * List out cases explicitly vs. catch-all * Fix printing of parens for QuantifiedConstraints The priority of printing 'forall' types was just one too high. Fixes #877. * Accept HTML output for quantified contexts test
* 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-102-9/+11
|
* testsuite: Rework handling of output sanitizationBen Gamari2016-02-082-7/+39
| | | | | | | | | 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-242-1/+8
|
* 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 bug with test runner failing when run on multiple test packages.Łukasz Hanuszczak2015-08-221-2/+1
|
* Fix warning about no longer needed definition.Łukasz Hanuszczak2015-08-221-1/+0
|
* Re-implement test acceptance functionality.Łukasz Hanuszczak2015-08-221-1/+12
|
* Fix bug with unnecessary checking old test output.Łukasz Hanuszczak2015-08-222-1/+13
|
* 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
|
* Fix bug with not all test output files being checked.Łukasz Hanuszczak2015-08-221-1/+2
|
* Make it possible to specify ignored files for test output.Łukasz Hanuszczak2015-08-222-1/+5
|
* Fix path handling in test runner.Łukasz Hanuszczak2015-08-221-15/+10
|
* Make Haddock test package more generic.Łukasz Hanuszczak2015-08-222-62/+78
|
* Create utility function for recursive obtaining directory contents.Łukasz Hanuszczak2015-08-221-0/+25
|
* Implement output accepting mechanism in test package.Łukasz Hanuszczak2015-08-222-1/+21
|
* 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
|
* Change extension of test files used for diffing.Łukasz Hanuszczak2015-08-221-2/+2
|
* Remove no longer useful test option.Łukasz Hanuszczak2015-08-221-7/+0
|
* Adjust module visibility and items they export.Łukasz Hanuszczak2015-08-222-3/+8
|
* Create convenience wrappers to simplify in test entry points.Łukasz Hanuszczak2015-08-222-0/+8
|
* Make Haddock test package more generic.Łukasz Hanuszczak2015-08-222-26/+39
|
* Move Haddock runner of HTML test suite to Haddock test package.Łukasz Hanuszczak2015-08-221-0/+117
|
* 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