[commit: ghc] ghc-7.10: ApiAnnotations : rationalise tests (b57348f)

git at git.haskell.org git at git.haskell.org
Tue Jun 2 21:05:03 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/b57348fda1e5bab4ad6c5a13e2152af7e62f8ffb/ghc

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

commit b57348fda1e5bab4ad6c5a13e2152af7e62f8ffb
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Mon Jun 1 11:51:27 2015 +0200

    ApiAnnotations : rationalise tests
    
    Summary:
    At the moment the API Annotations tests have a driver that has been
    copy/pasted multiple times.
    
    Compile it once, and run it for each test case.
    
    Test Plan: ./validate
    
    Reviewers: hvr, austin
    
    Reviewed By: austin
    
    Subscribers: bgamari, thomie
    
    Differential Revision: https://phabricator.haskell.org/D913
    
    GHC Trac Issues: #10452
    
    (cherry picked from commit e00910b0f83eaafd91dcb59cec0779b3ea9f0d30)


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

b57348fda1e5bab4ad6c5a13e2152af7e62f8ffb
 testsuite/tests/ghc-api/annotations/.gitignore     |  14 +-
 .../annotations/{t10278.hs => CheckUtils.hs}       |  15 +-
 testsuite/tests/ghc-api/annotations/Makefile       | 173 ++++++++++++---------
 testsuite/tests/ghc-api/annotations/T10255.stderr  |   3 -
 testsuite/tests/ghc-api/annotations/T10255.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10268.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10269.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10280.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10307.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10309.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10312.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10358.stderr  |  12 --
 testsuite/tests/ghc-api/annotations/T10358.stdout  |   2 +-
 testsuite/tests/ghc-api/annotations/T10399.stderr  |  12 +-
 testsuite/tests/ghc-api/annotations/T10399.stdout  | 146 ++++++++---------
 testsuite/tests/ghc-api/annotations/Test10255.hs   |   2 +-
 testsuite/tests/ghc-api/annotations/Test10278.hs   |   2 +-
 testsuite/tests/ghc-api/annotations/Test10358.hs   |   2 +-
 testsuite/tests/ghc-api/annotations/Test10399.hs   |   3 +
 testsuite/tests/ghc-api/annotations/all.T          |  14 +-
 testsuite/tests/ghc-api/annotations/boolFormula.hs | 106 +------------
 .../tests/ghc-api/annotations/boolFormula.stdout   |   2 +
 testsuite/tests/ghc-api/annotations/exampleTest.hs | 111 +------------
 .../tests/ghc-api/annotations/exampleTest.stdout   |   2 +
 testsuite/tests/ghc-api/annotations/t10255.hs      | 105 +------------
 testsuite/tests/ghc-api/annotations/t10268.hs      | 106 +------------
 testsuite/tests/ghc-api/annotations/t10269.hs      | 106 +------------
 testsuite/tests/ghc-api/annotations/t10278.hs      | 117 +-------------
 testsuite/tests/ghc-api/annotations/t10280.hs      | 106 +------------
 testsuite/tests/ghc-api/annotations/t10307.hs      | 105 +------------
 testsuite/tests/ghc-api/annotations/t10309.hs      | 105 +------------
 testsuite/tests/ghc-api/annotations/t10312.hs      | 105 +------------
 testsuite/tests/ghc-api/annotations/t10354.hs      | 117 +-------------
 testsuite/tests/ghc-api/annotations/t10357.hs      | 117 +-------------
 testsuite/tests/ghc-api/annotations/t10358.hs      | 117 +-------------
 testsuite/tests/ghc-api/annotations/t10396.hs      | 117 +-------------
 testsuite/tests/ghc-api/annotations/t10399.hs      | 117 +-------------
 37 files changed, 269 insertions(+), 1806 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 b57348fda1e5bab4ad6c5a13e2152af7e62f8ffb


More information about the ghc-commits mailing list