]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/commit
Clean-up unit-tests
authorTony Duckles <tony@nynim.org>
Sat, 13 Oct 2012 16:53:01 +0000 (09:53 -0700)
committerTony Duckles <tony@nynim.org>
Mon, 15 Oct 2012 04:00:45 +0000 (23:00 -0500)
commit8b54efe12900af1f0a43da92e183a10cd6346fb8
treeb08b51c81c154a55ceed5785299e3a198cd40635
parent6f0321afe3004a45650f45846f05046f534bbae3
Clean-up unit-tests

* Move to a stricter unit-test naming convention:
  * t1xxx-*.sh are the svnreplay tests.
  * t2xxx-*.sh are the svnancest tests.
* Support multi-jobbing unit-tests.  Make all the unit-tests
  multi-job safe, e.g. use unique repo's and wc's for each test.
* Ensure all test logic is run via assert's.
* Introduce "prove" Makefile target for unit-tests, to allow
  running all the tests multi-jobbed via prove.
16 files changed:
tests/Makefile
tests/diff-repo.sh
tests/replay-lib.sh [changed mode: 0755->0644]
tests/t0001-diff-repo.sh [deleted file]
tests/t0100-diff-repo.sh [new file with mode: 0755]
tests/t0100-replay-all.sh [deleted file]
tests/t0101-replay-trunk.sh [deleted file]
tests/t0102-replay-branch.sh [deleted file]
tests/t0103-replay-beforecommit.sh [deleted file]
tests/t1100-replay-all.sh [new file with mode: 0755]
tests/t1101-replay-trunk.sh [new file with mode: 0755]
tests/t1102-replay-branch.sh [new file with mode: 0755]
tests/t1200-replay-beforecommit.sh [new file with mode: 0755]
tests/t1200/before-commit.sh [moved from tests/t0103/before-commit.sh with 100% similarity]
tests/test-lib-functions.sh [changed mode: 0755->0644]
tests/test-lib.sh [changed mode: 0755->0644]