[PATCH] tests: use Git's test framework
Jason A. Donenfeld
Jason at zx2c4.com
Thu Apr 4 16:24:57 CEST 2013
On Mon, Apr 1, 2013 at 4:09 PM, John Keeping <john at keeping.me.uk> wrote:
> This allows tests to run in parallel as well as letting us use "prove"
> or another TAP harness to run the tests.
>
> Git's test framework requires Git to be fully built before letting any
> tests run, so add a new target to the top-level Makefile which builds
> all of Git instead of just libgit.a and make the "test" target depend on
> that.
I don't think that's a problem. Technically, the tests should be
against the git revision that cgit uses, not the system git.
My only hesitation is whether or not the pretty printing benefits are
worth the added complexity.
More information about the CGit
mailing list