darcs

Issue 1874 Running an particular test in network doesn't work

Title Running an particular test in network doesn't work
Priority bug Status resolved
Milestone Resolved in 2.5.0
Superseder Nosy List abuiles, dmitry.kurochkin, kowey
Assigned To
Topics Devel

Created on 2010-06-10.22:15:16 by abuiles, last changed 2010-07-01.21:20:55 by kowey.

Files
File name Uploaded Type Edit Remove
unnamed abuiles, 2010-06-10.22:15:15 text/html
unnamed abuiles, 2010-06-24.22:41:37 text/html
Messages
msg11363 (view) Author: abuiles Date: 2010-06-10.22:15:15
I added a new test to the network folder, and each time I try to run it I
always get :

setup: Bad format in tests/network/issue1503_prefer_local_caches.sh:
expected type/test

I'm using the  command : cabal test network/issue1503_prefer_local_caches.sh

The only way I found to run a test in network was running all of them with
the command: cabal test network.**
Attachments
msg11369 (view) Author: kowey Date: 2010-06-11.10:31:33
The following patch updated the status of issue1874 to be resolved:

* Resolve issue1874: recognise network tests on cabal test command line. 
Ignore-this: 59a455ef26b5df9a3bdd356e1e37854e
msg11585 (view) Author: abuiles Date: 2010-06-24.22:41:37
Hi Eric,

I run the thest for issue1503 and it works, but for example if I want to run
the test for issue1599 which is prefixed with failing,  it doesn't run.

Also is "cabal test bugs" expected to run the failing tests in network ?  at
the moment it doesn't.

Cheers,

Adolfo


On Fri, Jun 11, 2010 at 5:31 AM, Eric Kow <bugs@darcs.net> wrote:

>
> Eric Kow <kowey@darcs.net> added the comment:
>
> The following patch updated the status of issue1874 to be resolved:
>
> * Resolve issue1874: recognise network tests on cabal test command line.
> Ignore-this: 59a455ef26b5df9a3bdd356e1e37854e
>
> ----------
> nosy: +kowey
> status: need-implementation -> resolved
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1874>
> __________________________________
>
Attachments
msg11593 (view) Author: kowey Date: 2010-06-25.14:31:59
On Thu, Jun 24, 2010 at 22:41:38 +0000, Adolfo Builes wrote:
> I run the thest for issue1503 and it works, but for example if I want to run
> the test for issue1599 which is prefixed with failing,  it doesn't run.

I suppose it makes sense to allow for failing network tests (which would
behave as failing non-network tests)

> Also is "cabal test bugs" expected to run the failing tests in network ?  at
> the moment it doesn't.

I don't think we should expect this.  We could conceivably introduce a
cabal test network-bugs or something similar if our network bugs suite
grows further.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
msg11666 (view) Author: kowey Date: 2010-07-01.21:20:55
The following patch updated issue issue1874 with status=resolved;resolvedin=2.5.0 CURRENT

* Resolve issue1874: recognise network tests on cabal test command line. 
Ignore-this: 59a455ef26b5df9a3bdd356e1e37854e
History
Date User Action Args
2010-06-10 22:15:16abuilescreate
2010-06-11 10:20:17koweysetpriority: bug
status: unknown -> needs-implementation
topic: + Devel
2010-06-11 10:31:34koweysetstatus: needs-implementation -> resolved
nosy: + kowey
messages: + msg11369
2010-06-24 22:41:38abuilessetfiles: + unnamed
status: resolved -> unknown
messages: + msg11585
2010-06-25 14:32:00koweysetmessages: + msg11593
2010-06-25 14:32:18koweysetstatus: unknown -> needs-implementation
2010-07-01 21:20:55koweysetstatus: needs-implementation -> resolved
messages: + msg11666
resolvedin: 2.5.0