[commit: ghc] master: Simplify testsuite driver, part 2 (97596a4)

git at git.haskell.org git at git.haskell.org
Sun Aug 12 08:10:21 UTC 2018


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

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

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

commit 97596a44cafefba6b03f1dca8f445078dae12ba7
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Sun Aug 12 10:09:41 2018 +0200

    Simplify testsuite driver, part 2
    
    Summary:
    - Avoid import *; this helps tools such as pyflakes.
    The last occurrence in runtests.py is not easy to remove
    as it's used by .T files.
    - Use False/True instead of 0/1.
    
    Test Plan: validate
    
    Reviewers: bgamari, thomie, simonmar
    
    Reviewed By: thomie
    
    Subscribers: rwbarton, carter
    
    Differential Revision: https://phabricator.haskell.org/D5062


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

97596a44cafefba6b03f1dca8f445078dae12ba7
 testsuite/config/ghc                     | 14 +++++++-------
 testsuite/driver/runtests.py             |  8 ++++----
 testsuite/driver/testlib.py              | 19 +++++++++----------
 testsuite/mk/test.mk                     | 24 ++++++++++++------------
 testsuite/tests/concurrent/prog002/all.T |  2 +-
 testsuite/tests/rts/all.T                |  8 ++++----
 6 files changed, 37 insertions(+), 38 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 97596a44cafefba6b03f1dca8f445078dae12ba7


More information about the ghc-commits mailing list