ApiAnnotations : rationalise tests
authorAlan Zimmerman <alan.zimm@gmail.com>
Mon, 1 Jun 2015 09:51:27 +0000 (11:51 +0200)
committerAlan Zimmerman <alan.zimm@gmail.com>
Mon, 1 Jun 2015 09:51:27 +0000 (11:51 +0200)
commite00910b0f83eaafd91dcb59cec0779b3ea9f0d30
tree260d86eb0be9894b019b18ff84c7b69a2b6bb68a
parentf6ca6959e54ede0b28735ab7e011c16b3cb172db
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
39 files changed:
testsuite/tests/ghc-api/annotations/.gitignore
testsuite/tests/ghc-api/annotations/CheckUtils.hs [new file with mode: 0644]
testsuite/tests/ghc-api/annotations/Makefile
testsuite/tests/ghc-api/annotations/T10255.stderr [deleted file]
testsuite/tests/ghc-api/annotations/T10255.stdout
testsuite/tests/ghc-api/annotations/T10268.stderr
testsuite/tests/ghc-api/annotations/T10268.stdout
testsuite/tests/ghc-api/annotations/T10269.stdout
testsuite/tests/ghc-api/annotations/T10280.stderr
testsuite/tests/ghc-api/annotations/T10280.stdout
testsuite/tests/ghc-api/annotations/T10307.stdout
testsuite/tests/ghc-api/annotations/T10309.stdout
testsuite/tests/ghc-api/annotations/T10312.stdout
testsuite/tests/ghc-api/annotations/T10358.stderr [deleted file]
testsuite/tests/ghc-api/annotations/T10358.stdout
testsuite/tests/ghc-api/annotations/T10399.stderr
testsuite/tests/ghc-api/annotations/T10399.stdout
testsuite/tests/ghc-api/annotations/Test10255.hs
testsuite/tests/ghc-api/annotations/Test10278.hs
testsuite/tests/ghc-api/annotations/Test10358.hs
testsuite/tests/ghc-api/annotations/Test10399.hs
testsuite/tests/ghc-api/annotations/all.T
testsuite/tests/ghc-api/annotations/boolFormula.hs
testsuite/tests/ghc-api/annotations/boolFormula.stdout
testsuite/tests/ghc-api/annotations/exampleTest.hs
testsuite/tests/ghc-api/annotations/exampleTest.stdout
testsuite/tests/ghc-api/annotations/t10255.hs
testsuite/tests/ghc-api/annotations/t10268.hs
testsuite/tests/ghc-api/annotations/t10269.hs
testsuite/tests/ghc-api/annotations/t10278.hs
testsuite/tests/ghc-api/annotations/t10280.hs
testsuite/tests/ghc-api/annotations/t10307.hs
testsuite/tests/ghc-api/annotations/t10309.hs
testsuite/tests/ghc-api/annotations/t10312.hs
testsuite/tests/ghc-api/annotations/t10354.hs
testsuite/tests/ghc-api/annotations/t10357.hs
testsuite/tests/ghc-api/annotations/t10358.hs
testsuite/tests/ghc-api/annotations/t10396.hs
testsuite/tests/ghc-api/annotations/t10399.hs