summaryrefslogtreecommitdiff
path: root/.arclint
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-05-25 13:24:34 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-05-27 22:49:29 +0200
commitd40682ec74d802376d7cf50f2d3612b3292b29c5 (patch)
treecfde4072ce14677621aa99d75a59228aea5922b1 /.arclint
parentd0dd572b707631a104e060711faf9bd169bdc968 (diff)
downloadhaskell-d40682ec74d802376d7cf50f2d3612b3292b29c5.tar.gz
Testsuite: don't use --interactive in Makefiles
Add a linter to encourage the use of `$(TEST_HC_OPTS_INTERACTIVE)` instead of `$(TEST_HC_OPTS) --interactive -ignore-dot-ghci -v0`. It's too easy to forget one of those flags when adding a new test. Update submodule hpc. Reviewed by: austin Differential Revision: https://phabricator.haskell.org/D2265 GHC Trac Issues: #11468
Diffstat (limited to '.arclint')
-rw-r--r--.arclint5
1 files changed, 5 insertions, 0 deletions
diff --git a/.arclint b/.arclint
index 69644ea494..70767e9fb4 100644
--- a/.arclint
+++ b/.arclint
@@ -57,6 +57,11 @@
"type": "external-json",
"external-json.script": "python .arc-linters/check-binaries.py"
},
+ "check-makefiles": {
+ "type": "external-json",
+ "include": ["(Makefile$)"],
+ "external-json.script": "python .arc-linters/check-makefiles.py"
+ },
"bad-assert-clang-cpp": {
"type": "external-json",
"include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],