[commit: ghc] master: ApiAnnotations : rationalise tests (e00910b)

git at git.haskell.org git at git.haskell.org
Mon Jun 1 09:51:24 UTC 2015


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

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

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

commit e00910b0f83eaafd91dcb59cec0779b3ea9f0d30
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


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

e00910b0f83eaafd91dcb59cec0779b3ea9f0d30
 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.stderr  |   6 +-
 testsuite/tests/ghc-api/annotations/T10268.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10269.stdout  |   2 +
 testsuite/tests/ghc-api/annotations/T10280.stderr  |   6 +-
 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 +-------------
 39 files changed, 275 insertions(+), 1812 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 e00910b0f83eaafd91dcb59cec0779b3ea9f0d30


More information about the ghc-commits mailing list