From 903d97a72560eb446e879b2c6b64d7ea007300ac Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Tue, 12 Apr 2016 16:33:06 +0200 Subject: [PATCH] Revert "Disable fakeroot emulation when running tests" This reverts commit 267c427582dd3a945083a8fa2a033a29ba9bbb37. No longer needed, upstream testsuite fixed to assume failure when running as root is ok. See: https://github.com/libgit2/libgit2/commit/5cc7a5c7b389066ab7 --- debian/rules | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/debian/rules b/debian/rules index f497d6ee4..dc683dcc1 100755 --- a/debian/rules +++ b/debian/rules @@ -40,15 +40,10 @@ override_dh_auto_install: dh_auto_install --builddirectory=build-debian-devel override_dh_auto_test: - mkdir -p build-debian-release/tmp build-debian-devel/tmp -ifneq (,$(FAKEROOTKEY)) - echo "Detected running under fakeroot, resetting LD_LIBRARY_PATH as tests are not compatible with fakeroot." - LD_PRELOAD="" dh_auto_test --builddirectory=build-debian-release - LD_PRELOAD="" dh_auto_test --builddirectory=build-debian-devel -else - dh_auto_test --builddirectory=build-debian-release - dh_auto_test --builddirectory=build-debian-devel -endif + mkdir -p build-debian-release/tmp + dh_auto_test --builddirectory=build-debian-release + mkdir -p build-debian-devel/tmp + dh_auto_test --builddirectory=build-debian-devel override_dh_strip: dh_strip --dbgsym-migration='libgit2-dbg (<< 0.24.0-2~)'