Set HOME to current build directory when running test suite.

This should fix failures of kwsys.testRegistry and FindPackageTest
tests on the buildds.
ci/unstable
Modestas Vainius 15 years ago
parent 25137d0575
commit b20572bded

3
debian/changelog vendored

@ -1,5 +1,8 @@
cmake (2.8.0-3) UNRELEASED; urgency=low 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 <modestas@vainius.eu> Sun, 22 Nov 2009 20:05:59 +0200 -- Modestas Vainius <modestas@vainius.eu> Sun, 22 Nov 2009 20:05:59 +0200

3
debian/rules vendored

@ -27,6 +27,9 @@ override_dh_auto_configure: $(BUILD_FLAGS_FILE)
+cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake --mandir=/share/man \ +cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake --mandir=/share/man \
--init=../$(BUILD_FLAGS_FILE) --system-libs $(CONFIGURE_PARALLEL) --init=../$(BUILD_FLAGS_FILE) --system-libs $(CONFIGURE_PARALLEL)
override_dh_auto_test:
HOME="`pwd`/Build" dh_auto_test
override_dh_auto_clean: override_dh_auto_clean:
dh_auto_clean dh_auto_clean
rm -f $(BUILD_FLAGS_FILE) rm -f $(BUILD_FLAGS_FILE)

Loading…
Cancel
Save