diff --git a/debian/changelog b/debian/changelog index a0f228c0d..1fe9ddf0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ cmake (2.8.0-3) UNRELEASED; urgency=low + * Set HOME to current build directory when running test suite. This should + fix failures of kwsys.testRegistry and FindPackageTest tests on the + buildds. -- Modestas Vainius Sun, 22 Nov 2009 20:05:59 +0200 diff --git a/debian/rules b/debian/rules index 6fce6358c..fbe1f77b2 100755 --- a/debian/rules +++ b/debian/rules @@ -27,6 +27,9 @@ override_dh_auto_configure: $(BUILD_FLAGS_FILE) +cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake --mandir=/share/man \ --init=../$(BUILD_FLAGS_FILE) --system-libs $(CONFIGURE_PARALLEL) +override_dh_auto_test: + HOME="`pwd`/Build" dh_auto_test + override_dh_auto_clean: dh_auto_clean rm -f $(BUILD_FLAGS_FILE)