aboutsummaryrefslogtreecommitdiff
path: root/html-test
Commit message (Collapse)AuthorAgeFilesLines
* Bump interface versionMateusz Kowalczyk2014-01-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some breaking changes over the last few patches so we bump the interface version. This causes a big problem with testing: 1. To generate cross package docs, we first need to generate docs for the package used. 2. To generate package docs with new interface version, we need to use Haddock which has the version bumped. 3. To get Haddock with the version bump, we first need to test cross package docs 4. GOTO 1 So the problem is the chicken and the egg problem. It seems that the only solution would be to generate some interface files on the fly but it is non-trivial. To run this test, you'll have to: * build Haddock without the test (make sure everything else passes) * rebuild the packages used in the test with your shiny new binary making sure they are visible to Haddock * remove the ‘_hidden’ suffix and re-run the tests Note: because the packages currently used for this test are those provided by GHC, it's probably non-trivial to just re-build them. Preferably something less tedious to rebuild should be used and something that is not subject to change.
* Per-module extension flags and language listing.Mateusz Kowalczyk2014-01-122-0/+96
| | | | | | | | | | | | | Any extensions that are not enabled by a used language (Haskell2010 &c) will be shown. Furthermore, any implicitly enabled are also going to be shown. While we could eliminate this either by using the GHC API or a dirty hack, I opted not to: if a user doesn't want the implied flags to show, they are recommended to use enable extensions more carefully or individually. Perhaps this will encourage users to not enable the most powerful flags needlessly. Enabled with show-extensions. Conflicts: src/Haddock/InterfaceFile.hs
* Support for bold.Mateusz Kowalczyk2014-01-122-0/+110
| | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs
* Update acceptance testsSimon Hengel2014-01-121-2/+8
|
* Fix totality, unicode, examples, paragraph parsingSimon Hengel2014-01-1242-393/+201
| | | | | | | | Also simplify specs and parsers while we're at it. Some parsers were made more generic. This commit is a part of GHC pre-merge squash, email fuuzetsu@fuuzetsu.co.uk if you need the full commit history.
* Don't append newline to parseString inputSimon Hengel2014-01-1262-326/+224
| | | | We also check that we have parsed everything with endOfInput.
* One pass parser and tests.Mateusz Kowalczyk2014-01-124-38/+43
| | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing.
* Bump versionSimon Hengel2013-11-1056-56/+56
|
* Update HTML testsSimon Hengel2013-11-094-0/+275
|
* Fixes #253Mateusz Kowalczyk2013-09-022-0/+12
|
* Update tests.David Waern2013-08-091-4/+16
|
* Fix failing testSimon Hengel2013-07-081-2/+2
|
* Fix failing testSimon Hengel2013-07-081-1/+1
|
* Fix broken testSimon Hengel2013-06-011-3/+3
|
* Workaround for a failing build with --enable-tests.Mateusz Kowalczyk2013-06-011-1/+1
|
* Using new syntax in html-test/src/GADTRecords.hs.Kazu Yamamoto2013-02-071-5/+4
|
* Bump versionSimon Hengel2012-12-0754-54/+54
|
* Use markdown for html-test/READMESimon Hengel2012-10-181-7/+10
|
* Update html-test/READMESimon Hengel2012-10-181-2/+2
|
* Adapt output directory for HTML testsSimon Hengel2012-10-152-4/+4
|
* Move source files for HTML tests to html-test/srcSimon Hengel2012-10-1559-2/+2
|
* Rename html-test/runtests.lhs to html-test/run.lhsSimon Hengel2012-10-151-0/+0
|
* Adapt accept.lhs, so that it ignores more index filesSimon Hengel2012-10-151-7/+7
|
* Add test case for "spurious superclass constraints bug"Simon Hengel2012-10-153-0/+191
|
* Make test management scripts more robustSimon Hengel2012-10-153-13/+22
| | | | | | | * They are now independent from the current directory, and hence can be called from everywhere * On UNIX/Linux they can now be run as scripts
* Copy css, images, etc. on acceptSimon Hengel2012-10-157-15/+906
|
* Move HTML reference renderings to /html-test/ref/Simon Hengel2012-10-15109-5/+5
|
* Move HTML tests to directory /html-test/Simon Hengel2012-10-15166-0/+12847