[med-svn] [Git][med-team/libcereal][master] 6 commits: Fix autopkgtest

Andreas Tille gitlab at salsa.debian.org
Thu Dec 20 14:25:41 GMT 2018


Andreas Tille pushed to branch master at Debian Med / libcereal


Commits:
d7c0a057 by Andreas Tille at 2018-12-20T13:45:47Z
Fix autopkgtest

- - - - -
4f7dfb60 by Andreas Tille at 2018-12-20T13:51:46Z
Normalise autopkgtest (as in other Debian Med packages)

- - - - -
0433a6db by Andreas Tille at 2018-12-20T13:52:09Z
debhelper 11

- - - - -
fee59013 by Andreas Tille at 2018-12-20T13:52:28Z
Remove trailing whitespace in debian/changelog

- - - - -
2712a7e6 by Andreas Tille at 2018-12-20T14:05:45Z
Revert the attempt to simplify unzipping files which was wrong

- - - - -
8d020f39 by Andreas Tille at 2018-12-20T14:19:12Z
Upload to unstable

- - - - -


8 changed files:

- + debian/README.test
- debian/changelog
- debian/compat
- debian/control
- debian/libcereal-dev.docs
- debian/rules
- debian/tests/control
- debian/tests/run-tests → debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+libcereal (1.2.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix autopkgtest
+    Closes: #911261
+  * Normalise autopkgtest (as in other Debian Med packages)
+  * debhelper 11
+  * Remove trailing whitespace in debian/changelog
+
+ -- Andreas Tille <tille at debian.org>  Thu, 20 Dec 2018 15:07:17 +0100
+
 libcereal (1.2.2-1) unstable; urgency=medium
 
   * New upstream release.
@@ -29,13 +40,13 @@ libcereal (1.2.1-1) unstable; urgency=medium
 
 libcereal (1.1.2-4) unstable; urgency=medium
 
-  * Drop multilib builddeb (Closes: #814530) 
+  * Drop multilib builddeb (Closes: #814530)
 
  -- Michael R. Crusoe <crusoe at ucdavis.edu>  Fri, 12 Feb 2016 16:27:13 -0800
 
 libcereal (1.1.2-3) unstable; urgency=medium
 
-  * Applied patch from upstream, try building on all archs again. 
+  * Applied patch from upstream, try building on all archs again.
 
  -- Michael R. Crusoe <crusoe at ucdavis.edu>  Thu, 11 Feb 2016 14:04:10 -0800
 


=====================================
debian/compat
=====================================
@@ -1 +1 @@
-10
+11


=====================================
debian/control
=====================================
@@ -3,7 +3,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Michael R. Crusoe <michael.crusoe at gmail.com>
 Section: libdevel
 Priority: optional
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper (>= 11~),
                libboost-serialization-dev,
                libboost-test-dev,
                cmake,


=====================================
debian/libcereal-dev.docs
=====================================
@@ -1 +1,2 @@
-debian/tests/run-tests
+debian/tests/run-unit-test
+debian/README.test


=====================================
debian/rules
=====================================
@@ -11,3 +11,4 @@ override_dh_auto_build:
 
 override_dh_install:
 	dh_install --exclude license
+	sed -i '/add_subdirectory(doc)/d' debian/*/usr/share/doc/libcereal-dev/tests/CMakeLists.txt


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
-Tests: run-tests
+Tests: run-unit-test
 Depends: @, @builddeps@
 Restrictions: allow-stderr


=====================================
debian/tests/run-tests → debian/tests/run-unit-test
=====================================
@@ -1,13 +1,15 @@
 #!/bin/sh
 
 pkg=libcereal-dev
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
 fi
-cd $ADTTMP
 
+cd $AUTOPKGTEST_TMP
 
-cp -rs /usr/share/doc/libcereal-dev/tests/* .
+cp -rs /usr/share/doc/${pkg}/tests/* .
 for file in `find . -name "*.gz"`; do gunzip < ${file} > ${file%%.gz}; done
 cmake -DONLY_TEST=on -DSKIP_PORTABILITY_TEST=on .
 make



View it on GitLab: https://salsa.debian.org/med-team/libcereal/compare/92f3bd1d2275b29e6dea81bfeadafee9b98a61ad...8d020f3924aed852095c9260fb0f9c08065e94df

-- 
View it on GitLab: https://salsa.debian.org/med-team/libcereal/compare/92f3bd1d2275b29e6dea81bfeadafee9b98a61ad...8d020f3924aed852095c9260fb0f9c08065e94df
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/20181220/1b7b3629/attachment-0001.html>


More information about the debian-med-commit mailing list