[commit: ghc] wip/api-annots-7.10-3: ApiAnnotations : rationalise tests (9f7eb94)

git at git.haskell.org git at git.haskell.org
Mon Jun 1 16:19:47 UTC 2015


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

On branch  : wip/api-annots-7.10-3
Link       : http://ghc.haskell.org/trac/ghc/changeset/9f7eb944e64c0e57ebbad2b795c519ed37f24bf8/ghc

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

commit 9f7eb944e64c0e57ebbad2b795c519ed37f24bf8
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)
    
    Conflicts:
    	testsuite/tests/ghc-api/annotations/T10358.stderr
    	testsuite/tests/ghc-api/annotations/T10399.stderr


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

9f7eb944e64c0e57ebbad2b795c519ed37f24bf8
 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 9f7eb944e64c0e57ebbad2b795c519ed37f24bf8


More information about the ghc-commits mailing list