mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 21:39:25 +00:00
Revert "Disable fakeroot emulation when running tests"
This reverts commit 267c427582
.
No longer needed, upstream testsuite fixed to assume failure
when running as root is ok. See:
https://github.com/libgit2/libgit2/commit/5cc7a5c7b389066ab7
This commit is contained in:
parent
62a960f111
commit
903d97a725
13
debian/rules
vendored
13
debian/rules
vendored
@ -40,15 +40,10 @@ override_dh_auto_install:
|
|||||||
dh_auto_install --builddirectory=build-debian-devel
|
dh_auto_install --builddirectory=build-debian-devel
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
mkdir -p build-debian-release/tmp build-debian-devel/tmp
|
mkdir -p build-debian-release/tmp
|
||||||
ifneq (,$(FAKEROOTKEY))
|
dh_auto_test --builddirectory=build-debian-release
|
||||||
echo "Detected running under fakeroot, resetting LD_LIBRARY_PATH as tests are not compatible with fakeroot."
|
mkdir -p build-debian-devel/tmp
|
||||||
LD_PRELOAD="" dh_auto_test --builddirectory=build-debian-release
|
dh_auto_test --builddirectory=build-debian-devel
|
||||||
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
|
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbgsym-migration='libgit2-dbg (<< 0.24.0-2~)'
|
dh_strip --dbgsym-migration='libgit2-dbg (<< 0.24.0-2~)'
|
||||||
|
Loading…
Reference in New Issue
Block a user