[commit: packages/bytestring] ghc-head: Make tests build standalone (bf3ab9e)
git at git.haskell.org
git at git.haskell.org
Thu Aug 29 10:18:58 CEST 2013
Repository : ssh://git@git.haskell.org/bytestring
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/bytestring.git;a=commit;h=bf3ab9efae245afe019fb9691ab5dece4d83cb2e
>---------------------------------------------------------------
commit bf3ab9efae245afe019fb9691ab5dece4d83cb2e
Author: Bryan O'Sullivan <bos at serpentine.com>
Date: Wed Feb 20 20:35:36 2013 -0800
Make tests build standalone
If we try to build the top-level tests using cabal, it fails because
the depsolver ties itself in knots.
The "solution" (similar to that used by many other packages) is to
have a separate fake package that builds the tests.
>---------------------------------------------------------------
bf3ab9efae245afe019fb9691ab5dece4d83cb2e
tests/Properties.hs | 7 +-
tests/Rules.hs | 7 ++
tests/TestFramework.hs | 3 +
.../Data/ByteString/Builder/Prim/TestUtils.hs | 15 ++--
.../builder/Data/ByteString/Builder/Prim/Tests.hs | 12 ++--
tests/builder/Data/ByteString/Builder/Tests.hs | 6 ++
tests/builder/TestSuite.hs | 8 +--
tests/bytestring-tests.cabal | 76 ++++++++++++++++++++
8 files changed, 117 insertions(+), 17 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 bf3ab9efae245afe019fb9691ab5dece4d83cb2e
More information about the ghc-commits
mailing list