darcs

Issue 1329 update documentation on running the test suite

Title update documentation on running the test suite
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jaredj, kowey, mornfall, thorkilnaur, twb
Assigned To twb
Topics Devel, ProbablyEasy

Created on 2009-01-25.06:34:15 by twb, last changed 2017-07-30.22:52:29 by gh.

Messages
msg7175 (view) Author: twb Date: 2009-01-25.06:34:12
Currently:

    # cabal test --help
    Usage: cabal test [FLAGS]

    Flags for test:
     -h --help         Show this help text
     -v --verbose[=n]  Control verbosity (n is 0--3, default verbosity level is 1)
        --builddir=DIR The directory where Cabal puts generated build files
                       (default dist)

It would be nice if I could tell cabal to only test bugs with a
particular repository format (e.g. if it already works for darcs-2,
but I am trying to see if I fixed it for hashed).

It would be nice if I could tell cabal to only run some tests/bugs,
e.g. when I am trying to fix a particular bug.
msg7221 (view) Author: mornfall Date: 2009-01-27.11:42:47
You can do all but the --darcs-2 thingy:

12:39:29 | morn@eri:~/dev/darcs/mainline -> cabal test bugs/issue27
Using bash shell in '/bin/bash'
Running issue27.sh ...                           passed.
Some bug tests passed:
issue27.sh
Using bash shell in '/bin/bash'
Running issue27.sh ...                           passed.
Some bug tests passed:
issue27.sh
Using bash shell in '/bin/bash'
Running issue27.sh ...                           passed.
Some bug tests passed:
issue27.sh

See this patch:

Shall I view this patch? (4/217) [yNvpxqkj], or ? for help:  
Tue Dec 23 09:37:42 CET 2008  Petr Rockai <me@mornfall.net>
  * Make it possible to run just specific tests from cabal commandline.
  
  All of `cabal test repair-corrupt bugs/newlines bugs/issue27.sh` should work 
as
  expected. The implementation is not very efficient, but seems to work fine.

Yes, it could use some documentation. Where would we put it? (Not sure we can 
influence output of cabal test --help :\)
msg7223 (view) Author: twb Date: 2009-01-27.12:37:56
On Tue, Jan 27, 2009 at 11:42:51AM -0000, Petr Ročkai wrote:
> 
> Petr Ročkai <me@mornfall.net> added the comment:
> 
> You can do all but the --darcs-2 thingy:

OK, so it's a documentation bug :-)

> 12:39:29 | morn@eri:~/dev/darcs/mainline -> cabal test bugs/issue27
> Using bash shell in '/bin/bash'
> Running issue27.sh ...                           passed.
> Some bug tests passed:
> issue27.sh
> Using bash shell in '/bin/bash'
> Running issue27.sh ...                           passed.
> Some bug tests passed:
> issue27.sh
> Using bash shell in '/bin/bash'
> Running issue27.sh ...                           passed.
> Some bug tests passed:
> issue27.sh
> 
> See this patch:
> 
> Shall I view this patch? (4/217) [yNvpxqkj], or ? for help:  
> Tue Dec 23 09:37:42 CET 2008  Petr Rockai <me@mornfall.net>
>   * Make it possible to run just specific tests from cabal commandline.
>   
>   All of `cabal test repair-corrupt bugs/newlines bugs/issue27.sh` should work 
> as
>   expected. The implementation is not very efficient, but seems to work fine.
> 
> Yes, it could use some documentation. Where would we put it? (Not sure we can 
> influence output of cabal test --help :\)
> 
> ----------
> nosy: +mornfall
> priority:  -> wishlist
> status: unread -> chatting
> 
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1329>
> __________________________________
msg8319 (view) Author: kowey Date: 2009-08-21.17:30:20
We need to re-answer this question (how to run a subset of tests) in
tests/README.test_maintainers.txt and also in the developer FAQ
msg8362 (view) Author: twb Date: 2009-08-23.00:14:22
Assigning to me, though I don't know when I'll actually get to it.
History
Date User Action Args
2009-01-25 06:34:15twbcreate
2009-01-27 11:42:51mornfallsetpriority: wishlist
nosy: + mornfall
status: unread -> unknown
messages: + msg7221
2009-01-27 12:37:59twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall
messages: + msg7223
2009-08-21 17:30:26koweysetstatus: unknown -> needs-implementation
nosy: + jaredj
topic: + ProbablyEasy, Devel
messages: + msg8319
title: wish: cabal test bugs --darcs-2 --only 'issue27 issue390_whatsnew' -> update documentation on running the test suite
2009-08-23 00:14:24twbsetassignedto: twb
messages: + msg8362
nosy: kowey, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin, mornfall
2009-08-25 17:39:49adminsetnosy: + darcs-devel, - simon
2009-08-27 14:29:45adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, mornfall
2017-07-30 22:52:29ghsetstatus: needs-implementation -> given-up