# Small enhancements of the test-lib.sh

2 messages from 2007-10-24 to 2007-10-24. Participants: Pierre Habouzit.
Thread: https://gitlist.dev/t/10453

## Pierre Habouzit, 2007-10-24 20:03

Subject: Small enhancements of the test-lib.sh
Message-ID: <1193256219-24222-1-git-send-email-madcoder@debian.org>
URL: https://gitlist.dev/e/1193256219-24222-1-git-send-email-madcoder%40debian.org

```
  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, 2007-10-24 20:28

Subject: Re: [PATCH] Add some fancy colors in the test library when terminal supports it.
Message-ID: <20071024202817.GB10900@artemis.corp>
URL: https://gitlist.dev/e/20071024202817.GB10900%40artemis.corp
In-Reply-To: <1193256219-24222-2-git-send-email-madcoder@debian.org>

```
> +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

```
