mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 04:28:26 +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
|
||||
|
||||
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~)'
|
||||
|
Loading…
Reference in New Issue
Block a user