Coloured output from our Python tests
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 24 Jan 2013 16:51:55 +0000 (GMT)
Dear devs,
To make debugging the output of Subversion tests more of a pleasure, I use the "Generic Colourizer" utility "grc" [1], with a simple configuration [2].
The result is that I can run Subversion tests like this:
$ grc .../merge_tests.py ...
and see nicely coloured output as shown in the attached screen shot [3].
My config file is designed for light text on a dark background.
There is an alternative usage of GRC which works better in some scenarios such as colouring the output from a pipeline:
$ .../merge_tests.py ... | ... | grcatconf.svn_py_tests
Happy hacking!
- Julian
[1] <http://kassiopeia.juls.savba.sk/~garabik/software/grc.html>.
[2] Attached files to be installed as '/usr/share/grc/conf.svn_py_tests', and '/etc/grc.conf' (the first three lines are the significant ones), at least these are the locations for Ubuntu 11.10.
[3] Attached file 'ColouredTestOutput.png'.
--
Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
|
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.