[med-svn] [Git][med-team/genomethreader][master] 3 commits: skip fastdp tests

Sascha Steinbiss gitlab at salsa.debian.org
Thu Jan 23 12:55:57 GMT 2020



Sascha Steinbiss pushed to branch master at Debian Med / genomethreader


Commits:
b40f6824 by Sascha Steinbiss at 2020-01-23T13:37:09+01:00
skip fastdp tests

- - - - -
d430b803 by Sascha Steinbiss at 2020-01-23T13:46:51+01:00
do not include CFLAGS in binary for improved reproducibility

- - - - -
732141a7 by Sascha Steinbiss at 2020-01-23T13:46:57+01:00
add patch header

- - - - -


5 changed files:

- debian/changelog
- + debian/patches/disable-fastdp-tests.patch
- debian/patches/reproducible.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+genomethreader (1.7.3+dfsg-4) unstable; urgency=medium
+
+  * Skip fastdp tests on i386 (see
+    https://github.com/genometools/genomethreader/issues/14)
+  * Do not include CFLAGS in binary for improved reproducibility.
+
+ -- Sascha Steinbiss <satta at debian.org>  Thu, 23 Jan 2020 13:32:02 +0100
+
 genomethreader (1.7.3+dfsg-3) unstable; urgency=medium
 
   * Use defined LANG when building to avoid breaking the Built-Using


=====================================
debian/patches/disable-fastdp-tests.patch
=====================================
@@ -0,0 +1,17 @@
+Description: disable some tests on i386
+Author: Sascha Steinbiss <satta at debian.org>
+Bug: https://github.com/genometools/genomethreader/issues/14
+Last-Update: 2020-01-23
+--- a/Makefile
++++ b/Makefile
+@@ -163,6 +163,10 @@
+   STEST_FLAGS += -memcheck
+ endif
+ 
++ifeq ($(nofastdp),yes)
++  STEST_FLAGS += -keywords not fastdp
++endif
++
+ RNV_DIR:=src/external/rnv-1.7.10
+ LIBRNV_SRC:=$(RNV_DIR)/rn.c $(RNV_DIR)/rnc.c $(RNV_DIR)/rnd.c $(RNV_DIR)/rnl.c \
+             $(RNV_DIR)/rnv.c $(RNV_DIR)/rnx.c $(RNV_DIR)/drv.c \


=====================================
debian/patches/reproducible.patch
=====================================
@@ -1,3 +1,5 @@
+Description: improve reproducibility
+Author: Sascha Steinbiss <satta at debian.org>
 --- a/Makefile
 +++ b/Makefile
 @@ -184,7 +184,7 @@
@@ -9,3 +11,16 @@
  LIBGENOMETHREADER_OBJ:=$(LIBGENOMETHREADER_SRC:%.c=obj/%.o)
  LIBGENOMETHREADER_DEP:=$(LIBGENOMETHREADER_SRC:%.c=obj/%.d)
  
+--- a/src/libgenomethreader/gthversionfunc.c
++++ b/src/libgenomethreader/gthversionfunc.c
+@@ -25,8 +25,10 @@
+   printf("Copyright (c) 2013-2016 Wikena GmbH\n\n");
+ #endif
+   printf("Email: gordon at gremme.org\n\n");
++/* removed due to reproducibility issues
+   printf("Used compiler: %s\n", GTH_CC);
+   printf("Compile flags: %s\n", GTH_CFLAGS);
++*/
+ #ifndef NOLICENSEMANAGER
+   if (lm_license) {
+     putchar('\n');


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ hardening.patch
 search-paths.patch
 m32-m64-ignore.patch
 reproducible.patch
+disable-fastdp-tests.patch


=====================================
debian/rules
=====================================
@@ -17,6 +17,11 @@ ifeq ($(BITS),64)
 else
   64BIT:=no
 endif
+
+ifeq ($(DARCH),i386)
+  EXTRATESTOPT:=nofastdp=yes
+endif
+
 %:
 	dh $@
 
@@ -37,7 +42,7 @@ override_dh_auto_install:
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	make licensemanager=no 64bit=$(64BIT) test
+	make licensemanager=no 64bit=$(64BIT) $(EXTRATESTOPT) test
 endif
 
 override_dh_installman:



View it on GitLab: https://salsa.debian.org/med-team/genomethreader/compare/ac099ddcc02a829013f5116d740240b48ba1ac76...732141a7903644e9e946c5f1aa8e7448b3e87320

-- 
View it on GitLab: https://salsa.debian.org/med-team/genomethreader/compare/ac099ddcc02a829013f5116d740240b48ba1ac76...732141a7903644e9e946c5f1aa8e7448b3e87320
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/20200123/da96bd19/attachment-0001.html>


More information about the debian-med-commit mailing list