diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2019-02-28 05:45:24 -0800 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-03-04 10:18:41 -0500 |
commit | e2ae52c34e81123dce9991fad393d96fd7b7af6a (patch) | |
tree | 0af9071c68aa152c69718117df944c152130146b | |
parent | f77229e3c30fa9e353c061dc038a5d0b2ee01c48 (diff) | |
download | haskell-e2ae52c34e81123dce9991fad393d96fd7b7af6a.tar.gz |
Don't leave .hi files after running Haddock tests
RyanGlScott observed in https://github.com/haskell/haddock/issues/1030
that running Haddock tests in GHC's testsuite left some `.hi` files
around in `utils/haddock`. This should fix that problem.
-rw-r--r-- | testsuite/tests/haddock/haddock_testsuite/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/haddock_testsuite/Makefile b/testsuite/tests/haddock/haddock_testsuite/Makefile index 59a4a17928..37b0a98384 100644 --- a/testsuite/tests/haddock/haddock_testsuite/Makefile +++ b/testsuite/tests/haddock/haddock_testsuite/Makefile @@ -18,6 +18,7 @@ haddockTest=$(TOP)/../utils/haddock/haddock-test/src/Test/Haddock.hs \ htmlTest: '$(TEST_HC)' \ -odir . \ + -hidir . \ -package Cabal \ -o html-test \ $(haddockTest) \ @@ -32,6 +33,7 @@ htmlTest: latexTest: '$(TEST_HC)' \ -odir . \ + -hidir . \ -package Cabal \ -o latex-test \ $(haddockTest) \ @@ -46,6 +48,7 @@ latexTest: hoogleTest: '$(TEST_HC)' \ -odir . \ + -hidir . \ -package Cabal \ -o hoogle-test \ $(haddockTest) \ @@ -60,6 +63,7 @@ hoogleTest: hypsrcTest: '$(TEST_HC)' \ -odir . \ + -hidir . \ -package Cabal \ -o hypsrc-test \ $(haddockTest) \ |