[commit: packages/directory] master: Update test scripts to save local copy of test framework (9072fd9)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:50:08 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9072fd92cccc62a24579dfc8bd05854e695b5de0/directory

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

commit 9072fd92cccc62a24579dfc8bd05854e695b5de0
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Fri Apr 10 19:22:37 2015 -0400

    Update test scripts to save local copy of test framework
    
    Nix requires everything to be built from source without external inputs,
    so we need to cache our own copy of the GHC test framework.  We could
    tar.gz it, but:
    
      - it's binary, making it hard to compare changes without extracting;
      - metadata such as timestamps can introduce spurious changes.
    
    On the other hand, embedding it as a directory leads to a lot of extra
    entries in the `.cabal` file that'd have to be maintained separately.
    
    Therefore we choose to store the test framework in a shell archive.


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

9072fd92cccc62a24579dfc8bd05854e695b5de0
 directory.cabal                               |    3 +-
 LICENSE => tools/ghc-test-framework.LICENSE   |   39 +-
 tools/{ghc.patch => ghc-test-framework.patch} |    4 +-
 tools/ghc-test-framework.shar                 | 4253 +++++++++++++++++++++++++
 tools/run-tests                               |   18 +-
 tools/update-test-framework                   |   80 +
 6 files changed, 4357 insertions(+), 40 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 9072fd92cccc62a24579dfc8bd05854e695b5de0


More information about the ghc-commits mailing list