Petr Ročkai wrote:
> darcs-ADV annotate src/test.hs 0,08s user 0,01s system 93% cpu 0,102 total
> 
> 1: Wed Jul  7 20:06:00 CEST 2010  Ganesh Sittampalam <gan...@earth.li>
>   * move main unit testing code into module with proper name (not Main)
>   This is enable other things than the unit executable to import it
>   
> 2: Fri Aug 27 22:44:48 CEST 2010  Petr Rockai <m...@mornfall.net>
>   * Implement a test-framework-based shell harness.
>   
>   This merges the two test drivers we previously had, "unit" and
>   Distribution.ShellHarness (used directly by Setup), into a single
>   "darcs-test" binary. This patch only goes half the way, though: the new
>   shell harness is not used by "cabal test" yet. That will come as a
>   separate patch.
> 3: Sun Aug 29 21:15:00 CEST 2010  Petr Rockai <m...@mornfall.net>
>   * Print a list of (shell) tests that have failed after a test run.
> 4: Sat Aug 28 00:03:53 CEST 2010  Petr Rockai <m...@mornfall.net>
>   * Couple of improvements in the new shell test runner.
> 5: Sat Aug 28 00:04:14 CEST 2010  Petr Rockai <m...@mornfall.net>
>   * Add a --network option to darcs-test to run the network shell tests.
>  
>      gan...@earth.li   #1 | module Main ( main ) where
>      m...@mornfall.net   #2 | import Test.Framework.Runners.Console (
>      defaultMain )
>                           | import qualified Darcs.Test.Unit as Unit
>                           | import Data.List ( isPrefixOf, isSuffixOf,
>                           | sort ) import qualified Data.ByteString.Char8
>                           | as B import System.Console.CmdLib hiding ( run
>                           | ) import qualified System.Console.CmdLib as
>                           | CmdLib import System.FilePath( takeDirectory )
>      m...@mornfall.net   #3 | import Control.Concurrent.MVar
>                           | import Control.Exception( finally )
>      gan...@earth.li   #1 |
>      [....]

Nice!!! Wanna have that, too!

Cheers
Ben

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to