[commit: ghc] master: Testsuite: simplify extra_file handling (206b4a1)

git at git.haskell.org git at git.haskell.org
Tue Jun 28 12:21:37 UTC 2016


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

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

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

commit 206b4a1d0e82e8f0f40f6e36cf657146a8d4b36a
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Tue Jun 21 18:58:50 2016 +0200

    Testsuite: simplify extra_file handling
    
    Before, `extra_files(['.hpc/Main.mix'])` meant copy `Main.mix` to
    `<testdir>/.hpc/Main.mix`. This feature wasn't really necessary, so now
    it just means copy `Main.mix` to `<testdir>/Main.mix`. This simplifies
    the implementation.
    
    Some small other cleanups as well. -40 lines of code.


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

206b4a1d0e82e8f0f40f6e36cf657146a8d4b36a
 testsuite/driver/extra_files.py | 30 +++++++++---------
 testsuite/driver/testlib.py     | 68 ++++++++---------------------------------
 2 files changed, 28 insertions(+), 70 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 206b4a1d0e82e8f0f40f6e36cf657146a8d4b36a


More information about the ghc-commits mailing list