[med-svn] [Git][med-team/deepnano][master] 4 commits: Use less data for autopkgtest
Andreas Tille
gitlab at salsa.debian.org
Thu Feb 7 07:59:13 GMT 2019
Andreas Tille pushed to branch master at Debian Med / deepnano
Commits:
5f467748 by Andreas Tille at 2019-02-07T07:15:08Z
Use less data for autopkgtest
- - - - -
b4a48ba0 by Andreas Tille at 2019-02-07T07:24:58Z
debhelper 12
- - - - -
a488c285 by Andreas Tille at 2019-02-07T07:25:34Z
Standards-Version: 4.3.0
- - - - -
4d2d4a12 by Andreas Tille at 2019-02-07T07:55:41Z
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/compat
- debian/control
- debian/tests/run-test.sh
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+deepnano (0.0+git20170813.e8a621e-3) unstable; urgency=medium
+
+ * Use less data for autopkgtest
+ Closes: #921566
+ * debhelper 12
+ * Standards-Version: 4.3.0
+
+ -- Andreas Tille <tille at debian.org> Thu, 07 Feb 2019 08:25:35 +0100
+
deepnano (0.0+git20170813.e8a621e-2) unstable; urgency=medium
* Enable separate build of Architecture: all package
=====================================
debian/compat
=====================================
@@ -1 +1 @@
-11
+12
=====================================
debian/control
=====================================
@@ -4,12 +4,12 @@ Uploaders: Çağrı ULAŞ <cagriulas at gmail.com>,
Andreas Tille <tille at debian.org>
Section: science
Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper (>= 12~),
python-all,
dh-python,
python-markdown,
python-theano
-Standards-Version: 4.1.4
+Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/deepnano
Vcs-Git: https://salsa.debian.org/med-team/deepnano.git
Homepage: https://bitbucket.org/vboza/deepnano
=====================================
debian/tests/run-test.sh
=====================================
@@ -1,8 +1,8 @@
-#!/bin/bash
-set -e
+#!/bin/sh -e
-pkg_name="deepnano"
-test_required_pkg="deepnano-data"
+pkg="deepnano"
+test_required_pkg="${pkg}-data"
+datadir=/usr/share/poretools/data
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
@@ -11,9 +11,12 @@ fi
cp -a /usr/share/${test_required_pkg}/* $AUTOPKGTEST_TMP
mkdir -p $AUTOPKGTEST_TMP/test_data/
-cp -a /usr/share/poretools/data/* $AUTOPKGTEST_TMP/test_data/
+
+# Copy only 10 data sets since test with all data takes to long
+for d in `ls $datadir | sort | head -n10` ; do cp $datadir/$d $AUTOPKGTEST_TMP/test_data/ ; done
cd $AUTOPKGTEST_TMP
+
find . -name "*gz" -exec gunzip \{\} \;
#echo '!!!!!!!!!!'
#ls -R
View it on GitLab: https://salsa.debian.org/med-team/deepnano/compare/a572b5a17a3ce9dc25bd40d7a31133900271ff32...4d2d4a12dd933c03c16e75bf8c76dc56415fe1e4
--
View it on GitLab: https://salsa.debian.org/med-team/deepnano/compare/a572b5a17a3ce9dc25bd40d7a31133900271ff32...4d2d4a12dd933c03c16e75bf8c76dc56415fe1e4
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/20190207/95d6762a/attachment-0001.html>
More information about the debian-med-commit
mailing list