threads / discuss / 10453

Small enhancements of the test-lib.sh

Subject: Small enhancements of the test-lib.sh

## tl;dr

2 messages between Oct 24, 2007 and Oct 24, 2007.

replies: 1people: 1as markdown or json

Pierre Habouzit· Oct 24, 2007, 20:03 UTC · lore
  Here is a 2-patch series to enhance the test-suite so that the flood
is easier to follow to the eye.
  The first patch is a rework of the previous one I sent, and implements
suggestions that were made to me.
  The second add a --quiet option that basically stops the flood about
all the test that just pass, and only let the name of the master
t####foo.sh script be printed, and the summary of its test (and the
occasional spurious outputs the testsuite does).
  This "series" is available as ph/testlib on my
git://git.madism.org/git.git
Cheers,
Pierre Habouzit· Oct 24, 2007, 20:28 UTC · lore

Re: [PATCH] Add some fancy colors in the test library when terminal supports it.

Show 5 quoted lines
> +default_color=0
> +fail_color=1    # red
> +pass_color=2    # green
> +msg_color=3     # brown
> +
  err, sorry, this part is spurious, I wasn't paying attention when I
re-read my patch. It's impressive how many mistakes you catch reading
the same patch 20 minutes later…
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

← back to recent threads