diff options
author | Finley McIlwaine <finleymcilwaine@gmail.com> | 2023-05-01 08:36:06 -0600 |
---|---|---|
committer | Finley McIlwaine <finleymcilwaine@gmail.com> | 2023-05-17 19:58:53 +0000 |
commit | 57ba64dba592f5efaea5e9b61f2e7e2e7267179e (patch) | |
tree | 5bafc65cff9cae8fb337ff751a81dca4c9e3a25e /testsuite/tests/parser/should_compile/T23315/Makefile | |
parent | 2972fd66f91cb51426a1df86b8166a067015e231 (diff) | |
download | haskell-wip/t23315.tar.gz |
Insert documentation into parsed signature moduleswip/t23315
Causes haddock comments in signature modules to be properly
inserted into the AST (just as they are for regular modules)
if the `-haddock` flag is given.
Also adds a test that compares `-ddump-parsed-ast` output
for a signature module to prevent further regressions.
Fixes #23315
Diffstat (limited to 'testsuite/tests/parser/should_compile/T23315/Makefile')
-rw-r--r-- | testsuite/tests/parser/should_compile/T23315/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/T23315/Makefile b/testsuite/tests/parser/should_compile/T23315/Makefile new file mode 100644 index 0000000000..879e49d09f --- /dev/null +++ b/testsuite/tests/parser/should_compile/T23315/Makefile @@ -0,0 +1,18 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk + +SETUP = ./Setup -v0 + +T23315: clean + $(MAKE) clean + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup + $(SETUP) clean + $(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' + $(SETUP) build 1>&2 +ifneq "$(CLEANUP)" "" + $(MAKE) clean +endif + +clean : + $(RM) -r */dist Setup$(exeext) *.o *.hi |