Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4616880

Browse files
committed
describe adt-runscript.py
1 parent 98480cf commit 4616880

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,37 @@ stuff
22
=====
33

44
Random stuff
5+
6+
adt-runscript.py
7+
----------------
8+
9+
Very basic Debian autopkgtest execution script creator.
10+
Given a dsc (and optional a changes file) it produces a script which installs
11+
the dependencies and runs the registered tests.
12+
The script is intended to be executed in a isolated environment, e.g.
13+
via `pbuilder --execute`.
14+
15+
Warning:
16+
intended for personal use, behavior and interface may change at any time.
17+
18+
##### Usage:
19+
20+
```bash
21+
$ adt-runscript.py python-tornado_3.1.1-1.dsc python-tornado_3.1.1-1_amd64.changes
22+
dpkg-source: warning: extracting unsigned source package (/var/cache/pbuilder/result/python-tornado_3.1.1-1.dsc)
23+
dpkg-source: info: extracting python-tornado in python-tornado-3.1.1
24+
dpkg-source: info: unpacking python-tornado_3.1.1.orig.tar.gz
25+
dpkg-source: info: unpacking python-tornado_3.1.1-1.debian.tar.gz
26+
dpkg-source: info: applying ignore-ca-certificates.patch
27+
dpkg-source: info: applying certs-path.patch
28+
dpkg-source: info: applying ignoreuserwarning.patch
29+
python2 python-tornado []
30+
python3 python3-tornado []
31+
to run the tests execute:
32+
sudo DIST=precise cowbuilder --execute "/tmp/sadttmp-python-tornado-precise/runscript.sh" --bindmount "/tmp/sadttmp-python-tornado-precise" --logfile "/tmp/python-tornado_3.1.1-1.log"
33+
```
34+
35+
##### Issues:
36+
37+
* No support for test restrictions yet.
38+
* Fails on signed changes files.

0 commit comments

Comments
 (0)