diff options
author | Loïc Minier <lool@dooz.org> | 2011-01-28 16:39:23 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2011-01-28 16:39:23 +0100 |
commit | 17e16dc0d50353752d51d287504e05d42555e14f (patch) | |
tree | 4dd00b953a38a5769efdd902ed61892500709278 /do-release | |
parent | 61970bc1a66cc1eea6b64fed0d6f9e7ac64138e5 (diff) |
Run testsuite before release.
Diffstat (limited to 'do-release')
-rwxr-xr-x | do-release | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -29,11 +29,17 @@ if [ -z "$version" ]; then exit 1 fi +log_i "Checking tree status" status=`bzr status` if [ -n "$status" ]; then die "Tree is dirty according to bzr status" fi +log_i "Running tests" +if ! python -m testtools.run tests.test_suite; then + die "Testsuite doesn't pass" +fi + if bzr tags | awk '{print $1}' | grep -qFx "$version"; then die "Tag $version already exists" fi |