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

[PATCH] Python tests - more verbose

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 31 Jul 2008 11:28:43 +0100

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?

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-07-31 12:29:06 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.