[med-svn] [Git][med-team/libdeflate][master] d/rules: build the tests

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Jan 3 16:59:26 GMT 2023



Michael R. Crusoe pushed to branch master at Debian Med / libdeflate


Commits:
0198cb98 by Michael R. Crusoe at 2023-01-03T17:58:00+01:00
d/rules: build the tests

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
 libdeflate (1.15-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Team upload.
   * New upstream version
   * Standards-Version: 4.6.2 (routine-update)
@@ -8,6 +9,9 @@ libdeflate (1.15-1) UNRELEASED; urgency=medium
   * upstream does not provide benchmark script any more
   * Adjust d-shlibs call
 
+  [ Michael R. Crusoe ]
+  * d/rules: build the tests
+
  -- Andreas Tille <tille at debian.org>  Tue, 03 Jan 2023 16:21:52 +0100
 
 libdeflate (1.14-1) unstable; urgency=medium


=====================================
debian/rules
=====================================
@@ -13,12 +13,15 @@ else
 PROFILING_FLAG =
 endif
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DLIBDEFLATE_BUILD_TESTS=1
+
 override_dh_auto_build:
 ifeq (,$(filter cross,$(DEB_BUILD_PROFILES)))
 	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS) -fprofile-generate" \
 		LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS) -fprofile-generate"\
 		CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)"\
-		V=1 PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp \
+		V=1 PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp\
 		all
 	if [ -x ./benchmark ] ; then for level in $(shell seq 1 12); do \
 		./benchmark -$${level} ./lib/deflate_compress.c > /dev/null; \
@@ -37,15 +40,6 @@ override_dh_auto_install:
 		V=1 PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp \
 		install
 
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test -- V=1
-	# SMOKEDATA=$(CURDIR)/README.md WRAPPER= tools/run_tests.sh \
-	# 	  -checksum_benchmarks -windows -android -mips \
-	# 	  -static_analysis -native -valgrind
-	# SMOKEDATA=$(CURDIR)/README.md WRAPPER= sh tools/exec_tests.sh
-endif
-
 override_dh_install:
 	dh_install
 	d-shlibmove --commit \



View it on GitLab: https://salsa.debian.org/med-team/libdeflate/-/commit/0198cb98e11776c21727e1a4e0bd640465dcad38

-- 
View it on GitLab: https://salsa.debian.org/med-team/libdeflate/-/commit/0198cb98e11776c21727e1a4e0bd640465dcad38
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230103/aeafb89c/attachment-0001.htm>


More information about the debian-med-commit mailing list