Skip to content
Commits on Source (6)
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.
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@debian.org> Thu, 20 Dec 2018 15:07:17 +0100
libcereal (1.2.2-1) unstable; urgency=medium
* New upstream release.
......
......@@ -3,7 +3,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.
Uploaders: Michael R. Crusoe <michael.crusoe@gmail.com>
Section: libdevel
Priority: optional
Build-Depends: debhelper (>= 10),
Build-Depends: debhelper (>= 11~),
libboost-serialization-dev,
libboost-test-dev,
cmake,
......
debian/tests/run-tests
debian/tests/run-unit-test
debian/README.test
......@@ -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
Tests: run-tests
Tests: run-unit-test
Depends: @, @builddeps@
Restrictions: allow-stderr
#!/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