aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test/Haddock/Config.hs
Commit message (Collapse)AuthorAgeFilesLines
* Use GHC 9.2 in CI runner (#1378)Hécate Moonlight2021-05-281-1/+1
|
* Cleanup: fix build warningsVladislav Zavialov2021-02-051-1/+1
|
* Clean up logic for guessing `-B` and `--lib` (#1026)Alec Theriault2019-02-131-6/+18
| | | | | | | | | | Haddock built with the `in-ghc-tree` flag tries harder to find the GHC lib folder and its own resources. This should make it possible to use `in-ghc-tree`-built Haddock without having to specify the `-B` and `--lib` options (just how you can use in-tree GHC without always specifying the `-B` option). The logic to do this relies on `getExecutablePath`, so we only get this auto-detection on platforms where this function works.
* Address deprecation warnings in `haddock-test` (#988)Alec Theriault2018-12-271-1/+1
| | | Fixes #885.
* Fix warnings, accept outputAlec Theriault2018-12-121-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 Theriault2018-08-211-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 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-031-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 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)
* 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 warning about no longer needed definition.Łukasz Hanuszczak2015-08-221-1/+0
|
* 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
|
* Implement output accepting mechanism in test package.Łukasz Hanuszczak2015-08-221-0/+6
|
* 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-221-0/+70