diff options
author | Mateusz Lenik <mlen@mlen.pl> | 2014-10-21 15:34:00 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-10-21 15:36:14 -0500 |
commit | 972ba1210d1bb535c41526ce396c0f086d30b59a (patch) | |
tree | a6b4531b00c8cfa98ef0e12ecbbbfc181abffbc7 /testsuite/mk/test.mk | |
parent | 69f63612fc17cd6b3baaa8898c8595bde304ebfb (diff) | |
download | haskell-972ba1210d1bb535c41526ce396c0f086d30b59a.tar.gz |
Enabled warn on tabs by default (fixes #9230)
Summary:
This revision enables -fwarn-tabs by default and add a suppression
flag, so that GHC compilation won't fail when some files contain tab
characters.
Test Plan: Additional test case, T9230, was added to cover that change.
Reviewers: austin
Reviewed By: austin
Subscribers: simonmar, ezyang, carter, thomie, mlen
Differential Revision: https://phabricator.haskell.org/D255
GHC Trac Issues: #9230
Conflicts:
testsuite/driver/testlib.py
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r-- | testsuite/mk/test.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 2ff8616eba..0229cfd5b3 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -36,6 +36,14 @@ endif # in nested Makefiles TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS) +# The warning suppression flag below is a temporary kludge. While working with +# tests that contain tabs, please de-tab them so this flag can be eventually +# removed. See +# http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces +# for details +# +TEST_HC_OPTS += -fno-warn-tabs + RUNTEST_OPTS = ifeq "$(filter $(TargetOS_CPP), cygwin32 mingw32)" "" |