[commit: ghc] master: Testsuite: don't use --interactive in Makefiles (d40682e)

git at git.haskell.org git at git.haskell.org
Fri May 27 20:46:33 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d40682ec74d802376d7cf50f2d3612b3292b29c5/ghc

>---------------------------------------------------------------

commit d40682ec74d802376d7cf50f2d3612b3292b29c5
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Wed May 25 13:24:34 2016 +0200

    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


>---------------------------------------------------------------

d40682ec74d802376d7cf50f2d3612b3292b29c5
 .arc-linters/check-cpp.py                 |  3 +--
 .arc-linters/check-makefiles.py           | 27 +++++++++++++++++++++++++++
 .arclint                                  |  5 +++++
 libraries/hpc                             |  2 +-
 testsuite/tests/driver/Makefile           | 26 +++++++++++++++-----------
 testsuite/tests/driver/mode001.stdout     |  4 ++--
 testsuite/tests/ghci/linking/Makefile     | 16 ++++++++--------
 testsuite/tests/ghci/linking/dyn/Makefile |  2 +-
 testsuite/tests/ghci/scripts/Makefile     |  2 +-
 9 files changed, 61 insertions(+), 26 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc d40682ec74d802376d7cf50f2d3612b3292b29c5


More information about the ghc-commits mailing list