summaryrefslogtreecommitdiff
path: root/testsuite/tests/linters/regex-linters
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Lint RTS #includeswip/lint-rts-includesBen Gamari2022-04-061-0/+91
| | | | | | | | | | | Verifies two important properties of #includes in the RTS: * That system headers don't appear inside of a `<BeginPrivate.h>` block as this can hide system library symbols, resulting in very hard-to-diagnose linker errors * That no headers precede `Rts.h`, ensuring that __USE_MINGW_ANSI_STDIO is set correctly before system headers are included.
* testsuite: Require LLVM for T15155lPeter Trommler2022-02-261-0/+0
|
* Move linters into the treeMatthew Pickering2022-02-245-0/+252
This MR moves the GHC linters into the tree, so that they can be run directly using Hadrian. * Query all files tracked by Git instead of using changed files, so that we can run the exact same linting step locally and in a merge request. * Only check that the changelogs don't contain TBA when RELEASE=YES. * Add hadrian/lint script, which runs all the linting steps. * Ensure the hlint job exits with a failure if hlint is not installed (otherwise we were ignoring the failure). Given that hlint doesn't seem to be available in CI at the moment, I've temporarily allowed failure in the hlint job. * Run all linting tests in CI using hadrian.