Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use GHC 9.2 in CI runner (#1378) | Hécate Moonlight | 2021-05-28 | 1 | -1/+1 |
| | |||||
* | Cleanup: fix build warnings | Vladislav Zavialov | 2021-02-05 | 1 | -1/+1 |
| | |||||
* | Clean up logic for guessing `-B` and `--lib` (#1026) | Alec Theriault | 2019-02-13 | 1 | -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. | ||||
* | Removes `haddock-test`s dependency on `xml`/`xhtml` (#1027) | Alec Theriault | 2019-02-10 | 1 | -84/+103 |
| | | | | | | | | | | | This means that `html-test`, `latex-test`, `hoogle-test`, and `hypsrc-test` now only depend on GHC boot libs. So we should now be able to build and run these as part of GHC's testsuite. \o/ The reference output has changed very slightly, in three ways: * we don't convert quotes back into `"` as the `xml` lib did * we don't add extra ` ` as the `xml` lib did * we now remove the entire footer `div` (instead of just emptying it) | ||||
* | Fix some Hyperlinker test suite fallout | Alec Theriault | 2019-02-02 | 1 | -1/+9 |
| | | | | | | | | | | | * Amend `ParserSpec` to match new Hyperlinker API - pass in compiler info - strip out null tokens * Make `hypsrc-test` pass reliably - strip out `local-*` ids - strip out `line-*` ids from the `ClangCppBug` test - re-accept output | ||||
* | Address deprecation warnings in `haddock-test` (#988) | Alec Theriault | 2018-12-27 | 1 | -1/+1 |
| | | | Fixes #885. | ||||
* | Remove `haddock-test`'s dep. on `syb` (#987) | Alec Theriault | 2018-12-27 | 1 | -6/+12 |
| | | | | The functionality is easily inlined into one short function: `gmapEverywhere`. This doesn't warrant pulling in another package. | ||||
* | 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 | ||||
* | Merge branch 'ghc-8.6' into ghc-head | Alec Theriault | 2018-10-16 | 1 | -2/+1 |
|\ | |||||
| * | Accept failing tests | Alec Theriault | 2018-09-22 | 1 | -2/+1 |
| | | | | | | | | Also silence orphan warnings. | ||||
* | | Better test output when Haddock crashes on a test (#902) | Alec Theriault | 2018-08-21 | 2 | -9/+9 |
| | | | | | | | | | | 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 | 2 | -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 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) | ||||
* | haddock-test: A bit of refactoring for debuggability | Ben Gamari | 2016-05-10 | 1 | -0/+1 |
| | |||||
* | 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 bug with accepting to non-existing directory. | Łukasz Hanuszczak | 2015-08-24 | 1 | -0/+7 |
| | |||||
* | Remove redundant import statement. | Łukasz Hanuszczak | 2015-08-22 | 1 | -1/+0 |
| | |||||
* | Refactor existing code to use XHTML printer instead of XML one. | Łukasz Hanuszczak | 2015-08-22 | 1 | -20/+21 |
| | |||||
* | Create helper function for conversion between XML and XHTML. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+19 |
| | |||||
* | Fix warning about no longer needed definition. | Łukasz Hanuszczak | 2015-08-22 | 1 | -1/+0 |
| | |||||
* | Fix bug with unnecessary checking old test output. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+10 |
| | |||||
* | 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 |
| | |||||
* | Create utility function for recursive obtaining directory contents. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+25 |
| | |||||
* | Implement output accepting mechanism in test package. | Łukasz Hanuszczak | 2015-08-22 | 1 | -0/+6 |
| | |||||
* | Implement utility functions for conditional link stripping. | Łukasz Hanuszczak | 2015-08-22 | 1 | -5/+22 |
| | |||||
* | Refactor and simplify XHTML helper module of test package. | Łukasz Hanuszczak | 2015-08-22 | 1 | -16/+24 |
| | |||||
* | 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 | 4 | -0/+176 |