[med-svn] [Git][med-team/primer3][master] fix autopkgtests syntax making it fail everywhere

Gianfranco Costamagna gitlab at salsa.debian.org
Fri Jul 3 06:56:54 BST 2020



Gianfranco Costamagna pushed to branch master at Debian Med / primer3


Commits:
377040b8 by Gianfranco Costamagna at 2020-07-03T07:56:14+02:00
fix autopkgtests syntax making it fail everywhere

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+primer3 (2.4.0-4) unstable; urgency=medium
+
+  * Team upload
+  * Fixup syntax skip for big endian platforms.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Thu, 02 Jul 2020 22:12:20 +0200
+
 primer3 (2.4.0-3) unstable; urgency=medium
 
   [ Gianfranco Costamagna ]


=====================================
debian/tests/run-unit-test
=====================================
@@ -10,10 +10,9 @@ fi
 
 BUILDARCH=$(dpkg-architecture -q DEB_BUILD_ARCH_ENDIAN)
 
-P3CORE_FAILED_TESTS='primer_masker' \
-             'primer_masker_formatted'
+P3CORE_FAILED_TESTS="primer_masker primer_masker_formatted"
 
-FAILED_TESTS=testmasker
+FAILED_TESTS="testmasker"
 
 cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
 
@@ -31,9 +30,9 @@ if [ $BUILDARCH = big ]; then
   cp -a test/Makefile test/Makefile~
   # exclude tests known to fail on big endian
   # See README.source for further explanation.
-  for tst in $(P3CORE_FAILED_TESTS) ; do sed -i "/$${tst}/d" test/p3test.pl ; done
-  sed -i "0,/$(FAILED_TESTS)/s///" test/Makefile
-  sed -i "/$(FAILED_TESTS)/,/endif/d" test/Makefile
+  for tst in $P3CORE_FAILED_TESTS ; do sed -i "/$tst/d" test/p3test.pl ; done
+  sed -i "0,/$FAILED_TESTS/s///" test/Makefile
+  sed -i "/$FAILED_TESTS/,/endif/d" test/Makefile
 fi
 
 cd test/;



View it on GitLab: https://salsa.debian.org/med-team/primer3/-/commit/377040b82ec00941da1a93a54ef984a843c4e484

-- 
View it on GitLab: https://salsa.debian.org/med-team/primer3/-/commit/377040b82ec00941da1a93a54ef984a843c4e484
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/20200703/1fae83d4/attachment-0001.html>


More information about the debian-med-commit mailing list