From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Thu, 4 Apr 2013 16:24:57 +0200 Subject: [PATCH] tests: use Git's test framework In-Reply-To: <43a3cf29f2cfe519b86396aaf86288e87f237776.1364825141.git.john@keeping.me.uk> References: <43a3cf29f2cfe519b86396aaf86288e87f237776.1364825141.git.john@keeping.me.uk> Message-ID: On Mon, Apr 1, 2013 at 4:09 PM, John Keeping 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.