[commit: packages/containers] ghc-head: Remove use of defaultMainWithOpts from test suite (e10db37)

git at git.haskell.org git at git.haskell.org
Fri Aug 30 13:34:00 CEST 2013


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

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/containers.git;a=commit;h=e10db373d14359a893d735b0badd7b93d94dcbac

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

commit e10db373d14359a893d735b0badd7b93d94dcbac
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Thu Sep 20 11:20:05 2012 +0200

    Remove use of defaultMainWithOpts from test suite
    
    defaultMainWithOpts doesn't allow us to pass additional flags, such as
    --jxml, on the command line. The old behavior (i.e. setting the number
    of tests) can still be achieved like so:
    
    cabal test --test-option=-a500 \
      --test-option=--maximum-unsuitable-generated-tests=500


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

e10db373d14359a893d735b0badd7b93d94dcbac
 tests/intmap-properties.hs |   10 +----
 tests/intset-properties.hs |  103 ++++++++++++++++++++----------------------
 tests/map-properties.hs    |   10 +----
 tests/seq-properties.hs    |   10 +----
 tests/set-properties.hs    |  107 +++++++++++++++++++++-----------------------
 5 files changed, 106 insertions(+), 134 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 e10db373d14359a893d735b0badd7b93d94dcbac




More information about the ghc-commits mailing list