|
Created on 2009-01-25.06:34:15 by twb, last changed 2017-07-30.22:52:29 by gh.
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.
|
|
Date |
User |
Action |
Args |
2009-01-25 06:34:15 | twb | create | |
2009-01-27 11:42:51 | mornfall | set | priority: wishlist nosy:
+ mornfall status: unread -> unknown messages:
+ msg7221 |
2009-01-27 12:37:59 | twb | set | nosy:
kowey, simon, twb, thorkilnaur, dmitry.kurochkin, mornfall messages:
+ msg7223 |
2009-08-21 17:30:26 | kowey | set | status: 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:24 | twb | set | assignedto: twb messages:
+ msg8362 nosy:
kowey, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin, mornfall |
2009-08-25 17:39:49 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:29:45 | admin | set | nosy:
kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, mornfall |
2017-07-30 22:52:29 | gh | set | status: needs-implementation -> given-up |
|