tests: use Git's test framework
authorJohn Keeping <john@keeping.me.uk>
Mon, 1 Apr 2013 14:09:05 +0000 (15:09 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 20:27:11 +0000 (22:27 +0200)
commitc95cc5ec56dbb7394015eb18201403be6d80f69b
tree7014b96a1a1408b5291532c0c442082aba693a80
parent8a92df033e974af6338b530a0d78d1bdb0b0f918
tests: use Git's test framework

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.

Signed-off-by: John Keeping <john@keeping.me.uk>
13 files changed:
Makefile
tests/setup.sh
tests/t0001-validate-git-versions.sh
tests/t0010-validate-html.sh
tests/t0020-validate-cache.sh
tests/t0101-index.sh
tests/t0102-summary.sh
tests/t0103-log.sh
tests/t0104-tree.sh
tests/t0105-commit.sh
tests/t0106-diff.sh
tests/t0107-snapshot.sh
tests/t0108-patch.sh