Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Rewrite autopkgtest
· 8aa92094
Andreas Tille
authored
Dec 09, 2019
8aa92094
Upload to unstable
· c67dc3eb
Andreas Tille
authored
Dec 09, 2019
c67dc3eb
Hide whitespace changes
Inline
Side-by-side
debian/README.test
0 → 100644
View file @
c67dc3eb
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
View file @
c67dc3eb
python-pbcommand (1.1.1+git20191122.ec024c3-1)
UNRELEASED
; urgency=medium
python-pbcommand (1.1.1+git20191122.ec024c3-1)
unstable
; urgency=medium
* New upstream version Git checkout
Drop Python2 support and switch to Python3
...
...
@@ -8,8 +8,9 @@ python-pbcommand (1.1.1+git20191122.ec024c3-1) UNRELEASED; urgency=medium
* debhelper-compat 12
* Standards-Version: 4.4.1
* Make sure some valid version of pbcommand is returned by pkg_resources
* Rewrite autopkgtest
-- Andreas Tille <tille@debian.org>
Sat
, 0
7
Dec 2019
21:44
:1
5
+0100
-- Andreas Tille <tille@debian.org>
Mon
, 0
9
Dec 2019
15:17
:1
8
+0100
python-pbcommand (1.1.1-1) unstable; urgency=medium
...
...
debian/docs
View file @
c67dc3eb
README.md
docs/source/commandline_interface.rst
tests
debian/tests/run-unit-test
debian/README.test
debian/tests/control
View file @
c67dc3eb
Test
-Command: nosetests -s --verbose --logging-config log_nose.cfg --where=
test
s
Depends: @, python
-nose
, python-pbcore
Test
s: run-unit-
test
Depends: @, python
3-pytest, python3-pytest-xdist, python3-pytest-cov
, python
3
-pbcore
Restrictions: allow-stderr
debian/tests/run-unit-test
0 → 100644
View file @
c67dc3eb
#!/bin/bash
set
-e
pkg
=
python3-pbcommand
export
LC_ALL
=
C.UTF-8
if
[
"
${
AUTOPKGTEST_TMP
}
"
=
""
]
;
then
AUTOPKGTEST_TMP
=
$(
mktemp
-d
/tmp/
${
pkg
}
-test
.XXXXXX
)
trap
"rm -rf
${
AUTOPKGTEST_TMP
}
"
0 INT QUIT ABRT PIPE TERM
fi
cp
-a
/usr/share/doc/
${
pkg
}
/tests
"
${
AUTOPKGTEST_TMP
}
"
cd
"
${
AUTOPKGTEST_TMP
}
"
gunzip
-r
*
pytest-3