patch applied (cabal): "Fail gracefully when running "setup test" before "setup build"." and 5 others

Duncan Coutts duncan.coutts at googlemail.com
Mon Jul 18 00:40:11 CEST 2011


Thu Mar  3 08:46:11 PST 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Fail gracefully when running "setup test" before "setup build".

    M ./cabal/Distribution/Simple/Test.hs +5

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110303164611-30370-bbacefe2dab10b314866dedf0e656b525895e519.gz

Thu Jul  7 20:50:07 PDT 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Don't prefix test output with ">>>".
  Ticket #848. Removing the prefix brings "cabal test" in line with other cabal
  commands, which do not prefix their output, either. Prior to this patch, the
  summary notices which appear before and after each test suite were written to
  the temporary log file along with the stdio from the test executable; this would
  lead to duplicate notices when the contents of the temporary log file are read
  onto the console. After this patch, the summary notices are never written to the
  temporary log file, only to the console and the final log file (which is never
  read by Cabal), removing the confusing duplicate notices.

    M ./cabal/Distribution/Simple/Test.hs -6 +8

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110708035007-30370-ed77d3fab4ff0461a16b324027ec33fd040fc3b6.gz

Sat May 21 15:30:29 PDT 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Fix use of multiple test options.

    M ./cabal/Distribution/Simple/Setup.hs -6 +6
    M ./cabal/Distribution/Simple/Test.hs -2 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110521223029-30370-9b985bd3d0a8a96096877600957e5fcce8fb6a72.gz

Sat May 21 16:20:47 PDT 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Stop cabal-install from duplicating test options.

    M ./cabal/Distribution/Simple/Setup.hs -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110521232047-30370-67026a51b99e838b23364a64fba19b0670de920c.gz

Tue May 17 20:04:22 PDT 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Fixed crash on Windows due to file handle leak.
  Ticket #843. Cabal test crashed when trying to delete a temporary log file
  because 'readFile' reads unnecessarily lazily and was keeping a file handle
  open during attempted deletion. This patch forces the entire file to be read
  so the handle will be closed.

    M ./cabal/Distribution/Simple/Test.hs -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110518030422-30370-4974d832470ab98f57ffd971c2efc4ca0372946d.gz

Sat May 21 09:45:29 PDT 2011  Thomas Tuegel <ttuegel at gmail.com>
  * Added unit test for test options.

    M ./cabal/Cabal.cabal +1
    M ./cabal/tests/PackageTests/PackageTester.hs -3 +3
    A ./cabal/tests/PackageTests/TestOptions/
    A ./cabal/tests/PackageTests/TestOptions/Check.hs
    A ./cabal/tests/PackageTests/TestOptions/Setup.hs
    A ./cabal/tests/PackageTests/TestOptions/TestOptions.cabal
    A ./cabal/tests/PackageTests/TestOptions/test-TestOptions.hs
    M ./cabal/tests/PackageTests/TestSuiteExeV10/Check.hs -2 +2
    M ./cabal/tests/suite.hs -1 +3

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20110521164529-30370-1eaa9a3685d051e5adb0dbd98238231caabdb649.gz




More information about the cabal-devel mailing list