build-system: run make clean before testing.

The reasoning is that we might have some error in the build system
that causes something not to be rebuilt; this would potentially have
the tests run on the wrong version of the code.
This commit is contained in:
David Bremner 2011-07-17 09:52:05 -03:00
parent 2e13698812
commit 9fb9fb2986

View file

@ -87,6 +87,7 @@ dist: $(TAR_FILE)
.PHONY: release
release: verify-source-tree-and-version
$(MAKE) VERSION=$(VERSION) verify-newer
$(MAKE) VERSION=$(VERSION) clean
$(MAKE) VERSION=$(VERSION) test
rm -rf ./debian-build
git-buildpackage