@if [ "$(LOCALHOST_IP)" != "127.0.0.1" ]; then echo; echo; echo; echo; echo; echo "######################################################################"; echo "WARNING:This system does not think localhost is 127.0.0.1. Will ignore result of testsuite. Please fix your system/chroot."; echo "######################################################################"; echo; echo; echo; echo; echo "Note: 'getent hosts localhost' should return '127.0.0.1 localhost'"; echo; fi
dh_testdir
CFLAGS="$(CFLAGS)" ./configure \
$(confflags)\
@@ -92,14 +89,7 @@ build-stamp: config.status
@echo
# Running unit tests
@if["$(RUN_TEST)"!="no"];then\
if["$(LOCALHOST_IP)"!="127.0.0.1"];then\
echo; echo; echo "######################################################################"; echo "WARNING:This system does not think localhost is 127.0.0.1. Will ignore result of testsuite. Please fix your system/chroot."; echo "######################################################################"; echo; echo; \
echo "make check || true"; \
make check || true; \
else \
echo "make check"; \
makecheck;\
fi; \
else\
echo;echo;echo"Skipping unittests";echo;\
fi
@@ -220,7 +210,6 @@ binary-indep: install
# Build architecture dependant packages using the common target.
@if["$(LOCALHOST_IP)"!="127.0.0.1"];then echo;echo;echo;echo;echo;echo"######################################################################";echo"WARNING: This system does not think localhost is 127.0.0.1. Result of testsuite has been ignored. Please fix your system/chroot.";echo"######################################################################";echo;echo;echo;echo;echo"Note: 'getent hosts localhost' should return '127.0.0.1 localhost'";echo;fi