diff options
author | Shayne Fletcher <shayne@shaynefletcher.org> | 2021-06-03 20:34:39 +1000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-05 03:47:48 -0400 |
commit | 1713cbb038116c2d703238b47f78c4861232db8e (patch) | |
tree | 9ef7ba336a7c36defe90ce31c5211666f715b47e /testsuite/mk | |
parent | 737b0ae194ca33f9bea9a150dada0c933fd75d4d (diff) | |
download | haskell-1713cbb038116c2d703238b47f78c4861232db8e.tar.gz |
Make 'count-deps' a ghc/util standalone program
- Move 'count-deps' into 'ghc/utils' so that it can be called standalone.
- Move 'testsuite/tests/parser/should_run/' tests 'CountParserDeps' and
'CountAstDeps' to 'testsuite/tests/count-deps' and reimplement in terms
of calling the utility
- Document how to use 'count-deps' in 'ghc/utils/count-deps/README'
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index a2fb56d1ba..942e6e32c2 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -227,6 +227,10 @@ ifeq "$(CHECK_EXACT)" "" CHECK_EXACT := $(abspath $(TOP)/../inplace/bin/check-exact) endif +ifeq "$(COUNT_DEPS)" "" +COUNT_DEPS := $(abspath $(TOP)/../inplace/bin/count-deps) +endif + # ----------------------------------------------------------------------------- # configuration of TEST_HC @@ -296,4 +300,3 @@ FREEBSD = YES else FREEBSD = NO endif - |