diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-01-31 19:08:01 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-04 10:02:35 -0500 |
commit | 62d670eb3a1c059f1ff977471f8d77dac5cf21b8 (patch) | |
tree | cf1406720690eba63cc3ad2d92385dc8689ad1d5 /.gitlab-ci.yml | |
parent | eddaa591a478e7598a9f5df4c26306e4fadbf08e (diff) | |
download | haskell-62d670eb3a1c059f1ff977471f8d77dac5cf21b8.tar.gz |
testsuite: Run testsuite dependency calculation before GHC is built
The main motivation for this patch is to allow tests to be added to the
testsuite which test things about the source tree without needing to
build GHC. In particular the notes linter can easily start failing and
by integrating it into the testsuite the process of observing these
changes is caught by normal validation procedures rather than having to
run the linter specially.
With this patch I can run
```
./hadrian/build test --flavour=devel2 --only="uniques"
```
In a clean tree to run the checkUniques linter without having to build
GHC.
Fixes #21029
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e72c394f70..7776a1427b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -186,7 +186,7 @@ ghc-linters: - .gitlab/linters/check-makefiles.py commits $base $CI_COMMIT_SHA - .gitlab/linters/check-cpp.py commits $base $CI_COMMIT_SHA - .gitlab/linters/check-version-number.sh - - python3 utils/checkUniques/check-uniques.py . + - python3 testsuite/tests/linters/checkUniques/check-uniques.py . dependencies: [] rules: - if: $CI_MERGE_REQUEST_ID |