patch applied (cabal): "Add package checks for benchmarks" and 4 others

Duncan Coutts duncan.coutts at
Sun Oct 23 23:41:03 CEST 2011

Wed Oct 12 13:16:04 PDT 2011  Johan Tibell <johan.tibell at>
  * Add package checks for benchmarks
  Refactor duplicate names check to avoid having to manually write all
  O(n^2) possible collision cases between executables, test suites, and

    M ./Cabal/Distribution/PackageDescription/Check.hs -20 +56

View patch online:;a=darcs_commitdiff;h=20111012201604-73595-165c451e997023fc438e37db97b621b0359f4f65.gz

Thu Oct 13 15:56:15 PDT 2011  Johan Tibell <johan.tibell at>
  * Implement 'cabal bench' command
  The only implement benchmark interface so far is exitcode-stdio-1.0,
  which forwards the output of the benchmark executable being run to the
  parent process' stdout/stderr.

    M ./Cabal/Cabal.cabal +1
    M ./Cabal/Distribution/Simple.hs -2 +28
    A ./Cabal/Distribution/Simple/Bench.hs
    M ./Cabal/Distribution/Simple/InstallDirs.hs -1 +4
    M ./Cabal/Distribution/Simple/Setup.hs +62
    M ./Cabal/Distribution/Simple/UserHooks.hs -3 +14
    M ./Cabal/Distribution/Simple/Utils.hs +10

View patch online:;a=darcs_commitdiff;h=20111013225615-73595-c92fcd5da380aa88d6597515406d641712994d47.gz

Thu Oct 13 16:21:09 PDT 2011  Johan Tibell <johan.tibell at>
  * Add unit test for 'cabal bench' command-line flags

    A ./Cabal/tests/PackageTests/BenchmarkOptions/
    A ./Cabal/tests/PackageTests/BenchmarkOptions/BenchmarkOptions.cabal
    A ./Cabal/tests/PackageTests/BenchmarkOptions/Check.hs
    A ./Cabal/tests/PackageTests/BenchmarkOptions/Setup.hs
    A ./Cabal/tests/PackageTests/BenchmarkOptions/test-BenchmarkOptions.hs
    M ./Cabal/tests/PackageTests/PackageTester.hs -1 +15
    M ./Cabal/tests/suite.hs -2 +4

View patch online:;a=darcs_commitdiff;h=20111013232109-73595-6ab8db41c38aaa13771cf973221d9f0cae3c21d2.gz

Thu Oct 13 16:28:47 PDT 2011  Johan Tibell <johan.tibell at>
  * Fail gracefully if 'cabal bench' is run before 'cabal build'

    M ./Cabal/Distribution/Simple/Bench.hs +7

View patch online:;a=darcs_commitdiff;h=20111013232847-73595-b05ad5f69c791b90f3c26409bc1950df06090101.gz

Sun Oct 23 14:39:24 PDT 2011  Duncan Coutts <duncan at>
  * Bump versions of Cabal and cabal-install
  Latest cabal-install requires latest Cabal due to api addition

    M ./Cabal/Cabal.cabal -1 +1
    M ./cabal-install/cabal-install.cabal -2 +2

View patch online:;a=darcs_commitdiff;h=20111023213924-5c91e-2884510f9eb24976527ff8e975e0417ff488d912.gz

More information about the cabal-devel mailing list