summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:52:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:52:39 +0000
commita0093c0d5d7a85b3dc4a469f1007652a0a613948 (patch)
tree144595862ce01f05cdfce761278862c20f6b8c54
parentReleasing progress-linux version 3.5.1+dfsg1-3~progress7.99u1. (diff)
downloadfreerdp3-a0093c0d5d7a85b3dc4a469f1007652a0a613948.tar.xz
freerdp3-a0093c0d5d7a85b3dc4a469f1007652a0a613948.zip
Merging debian version 3.5.1+dfsg1-4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules7
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 29475b7..9a5e11a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+freerdp3 (3.5.1+dfsg1-4) unstable; urgency=medium
+
+ * Enable build time tests (LP: #2058401)
+
+ -- Jeremy BĂ­cha <jbicha@ubuntu.com> Tue, 21 May 2024 11:56:19 -0400
+
freerdp3 (3.5.1+dfsg1-3~progress7.99u1) graograman-backports; urgency=high
* Uploading to graograman-backports, remaining changes:
diff --git a/debian/rules b/debian/rules
index 01d7e5e..443f066 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,6 +108,7 @@ endif
xSEDx :=$(shell printf '\026')
override_dh_auto_configure:
+ dh_auto_configure --builddirectory=debian/testtmp -- $(DEB_CMAKE_EXTRA_FLAGS) -DBUILD_TESTING=ON
dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
# mangle CFLAGS value stored in buildflags.h.
# fixes build path leakage.
@@ -121,6 +122,12 @@ override_dh_auto_configure:
-e "s$(xSEDx) $${o}=[^=]+=\.$(xSEDx)$(xSEDx)g;" \
obj-$(DEB_HOST_GNU_TYPE)/winpr/include/winpr/buildflags.h
+execute_after_dh_auto_build:
+ dh_auto_build --builddirectory=debian/testtmp
+
+execute_after_dh_auto_test:
+ dh_auto_test --builddirectory=debian/testtmp
+
# NB debhelper 13+: convert to execute_before_dh_install
override_dh_install: TMP_LIB = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_install: