[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Python tests - more verbose

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Sun, 10 Aug 2008 14:26:25 +0200

Julian Foad wrote:
> When I run a test in verbose mode to debug it, e.g. "merge_tests.py 101
> --verbose", I see something like:
>
> [[[
> CMD: svn add source/file
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.066368>
> CMD: svn propset p1 v1 source/file
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.060716>
> CMD: svn commit -m "" .
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.960619>
> ]]]
>
> I find it much more valuable to see the output of the commands (and
> especially any stderr output):
>
> [[[
> CMD: svn add source/file
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.052137>
> A source/file
> CMD: svn propset p1 v1 source/file
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.056686>
> property 'p1' set on 'source/file'
> CMD: svn commit -m "" .
> --config-dir /home/julianfoad/build/subversion-trunk/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom <TIME = 0.720800>
> Adding source
> Adding source/file
> Transmitting file data .
> Committed revision 2.
> ]]]
>
> In conjunction with this, when failing to match some expected stderr
> pattern I'd like to see what pattern it expected.
>
> Any reason not to apply the attached patch to do this?
>
The only reason I can think of is that the output of a full test run
will get very long, which doesn't really help searching through it when
eg; buildbot reports failing tests. Maybe create a '-vv' option for this
type of extra output?

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-10 14:26:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.