integ/ldap/openldap/debian/deb_patches/debian-disable-unit-tests.patch
Yue Tao 2821680c8b Add debian package for openldap
Ported all patches from CentOS.
Ported patch rootdn-should-not-bypass-ppolicy.patch + deleted unit test for it.

meta_data patches were not needed as they were only modifying the rpm spec.

Disabled unit tests part of debian build.
Ran the unit tests once before disabling and they pass.

Story: 2009221
Task: 43407
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Ia0b640c5cd2594daae5722b1c9743a3a800485ab
2021-10-18 13:41:34 +08:00

19 lines
535 B
Diff

Disable the unit tests, which consumes a lot of time.
Don't need to run it each building BTY,Centos also disable it.
Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
diff --git a/debian/rules.old b/debian/rules
index 5b8b75f..fbefa7b 100755
--- a/debian/rules.old
+++ b/debian/rules
@@ -131,7 +131,7 @@ ifeq ($(DEB_HOST_ARCH),ppc64el)
# Disable test060-mt-host on ppc64el until #866122 is fixed.
rm -f tests/scripts/test060-mt-hot
endif
- dh_auto_test
+ #dh_auto_test
override_dh_auto_install:
dh_auto_install -- $(MAKEVARS)