Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (6)
Mark autopkgtest that is forced to succeed "superficial"
· b52deeaf
Andreas Tille
authored
Apr 02, 2019
b52deeaf
Make test more sensible
· 5ed0a59d
Andreas Tille
authored
Apr 02, 2019
5ed0a59d
Restore old autopkgtest file
· 60725a61
Andreas Tille
authored
Apr 02, 2019
60725a61
Document what really was done
· 23150713
Andreas Tille
authored
Apr 02, 2019
23150713
No debugging noise
· ee6d69fe
Andreas Tille
authored
Apr 02, 2019
ee6d69fe
Upload to unstable
· 304e988e
Andreas Tille
authored
Apr 02, 2019
304e988e
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
304e988e
pbgenomicconsensus (2.3.2-3) unstable; urgency=medium
* Really fix autopkgtest
-- Andreas Tille <tille@debian.org> Tue, 02 Apr 2019 21:29:59 +0200
pbgenomicconsensus (2.3.2-2) unstable; urgency=medium
[ Afif Elghraoui ]
...
...
debian/patches/ignore_test_requiring_pbtestdata.patch
View file @
304e988e
...
...
@@ -5,15 +5,17 @@ Last-Update: Thu, 28 Mar 2019 13:40:21 +0100
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,1
2
@@
tests: unit-tests basic-tests
@@ -8,7 +8,1
4
@@
tests: unit-tests basic-tests
unit-tests:
# Unit tests
- py.test --junit-xml=nosetests.xml tests/unit
+ # ignore tests requiring https://github.com/PacificBiosciences/PacBioTestData which is not packaged
+ set -e ; \
+ TMPDIR=$$(mktemp -d /tmp/test_ignore_XXXXXX) ; \
+ mv tests/unit/test_tool_contract.py $${TMPDIR} ; \
+ py.test --junit-xml=nosetests.xml tests/unit ; \
+ rm -rf tests/unit/__pycache__ ; \
+ mv $${TMPDIR}/* tests/unit ; \
+ rmdir $${TMPDIR}
...
...
debian/patches/ignore_test_using_local_data.patch
View file @
304e988e
...
...
@@ -5,7 +5,7 @@ Last-Update: Thu, 28 Mar 2019 13:40:21 +0100
--- a/Makefile
+++ b/Makefile
@@ -2
0
,8 +2
0
,1
8
@@
unit-tests:
@@ -2
2
,8 +2
2
,1
9
@@
unit-tests:
basic-tests:
# End-to-end tests
...
...
@@ -13,6 +13,7 @@ Last-Update: Thu, 28 Mar 2019 13:40:21 +0100
- PATH=`pwd`:$(PATH) cram --verbose --xunit-file=gc-cram.xml `ls tests/cram/*.t | grep -v -e arrow -e bad_input`
+ # some tests require a input files on a local mount of upstream
+ # The test poa-all4mer.t contains a wrong syntax in calling poa - no idea how to fix this thus ignoring the test
+ set -e ; \
+ TMPDIR=$$(mktemp -d /tmp/test_ignore_XXXXXX) ; \
+ for nt in $$(grep -Rl /mnt/secondary/Share/Quiver/ tests/*) ; do \
+ mkdir -p $${TMPDIR}/$$(dirname $${nt}) ; \
...
...
debian/tests/control
View file @
304e988e
Test-Command:
make unit-tests || true # due to warnings caused by python-pbcore some non-zero value is returned despite all tests are passing - thus adding '|| true'
cp -r Makefile tests $AUTOPKGTEST_TMP
&& cd $AUTOPKGTEST_TMP
&& make tests
Depends:
@,
python-nose,
python-cram,
make,
poa
poa
,
Restrictions: allow-stderr
Test-Command:
make basic-tests
Depends:
@,
python-nose,
python-cram,
make,
poa
Restrictions: allow-stderr
Test-Command:
make extra-tests
cp -r Makefile tests $AUTOPKGTEST_TMP
&& cd $AUTOPKGTEST_TMP
&& make extra-tests
Depends:
@,
python-cram,
...
...