summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules13
1 files changed, 2 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index 89091281d..042cf8f40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,13 +42,9 @@ endif
BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev eglibc)
-# Check for /dev/tty and find potential alternatives to avoid test
-# suite failures on hurd
-TESTTTY=$(shell if [ -c /dev/tty ]; then echo /dev/tty; else find /dev -name 'tty*' -type c | head -1; fi)
-
build: build-arch build-indep
-build-arch: configure-stamp prepare-tests-stamp
+build-arch: configure-stamp
dh_auto_build -B obj --parallel
HOME="$(CURDIR)/obj/testhome" dh_auto_test -B obj --parallel
touch $@
@@ -57,7 +53,7 @@ build-indep: configure-stamp
dh_auto_build -B obj --parallel -- pdf
touch $@
-build-static: configure-static-stamp prepare-tests-stamp
+build-static: configure-static-stamp
dh_testdir
dh_auto_build -B obj-static --parallel
HOME="$(CURDIR)/obj-static/testhome" dh_auto_test -B obj-static --parallel || true
@@ -66,10 +62,6 @@ build-static: configure-static-stamp prepare-tests-stamp
build-debug: DEB_BUILD_OPTIONS+=debug
build-debug: build
-prepare-tests-stamp:
- debian/patch-test-suite.sh "$(TESTTTY)"
- touch $@
-
configure:
touch stamp-h.in
dh_autoreconf
@@ -97,7 +89,6 @@ clean:
dh_auto_clean -B obj --parallel
dh_auto_clean -B obj-static --parallel
dh_auto_clean --parallel
- debian/patch-test-suite.sh --reverse $(TESTTTY)
dh_clean
rm -rf config.cache obj obj-static autom4te.cache