[Pkg-gnupg-commit] [gpgme] 08/09: add the simplest possible python burn-in autopkgtest
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Aug 18 02:29:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit f18fd91a0a04d7959e22bee42bd449c05f5d3232
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Thu Aug 17 22:15:22 2017 -0400
add the simplest possible python burn-in autopkgtest
---
debian/tests/control | 12 ++++++++++++
debian/tests/python | 3 +++
debian/tests/python-gpg | 6 ++++++
debian/tests/python3 | 3 +++
debian/tests/python3.5 | 3 +++
debian/tests/python3.6 | 3 +++
6 files changed, 30 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bc070cf
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,12 @@
+Tests: python
+Depends: python-gpg
+
+Tests: python3
+Depends: python3-gpg
+
+Tests: python3.5
+Depends: python3.5, python3-gpg
+
+Tests: python3.6
+Depends: python3.6, python3-gpg
+
diff --git a/debian/tests/python b/debian/tests/python
new file mode 100755
index 0000000..0028978
--- /dev/null
+++ b/debian/tests/python
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec python debian/tests/python-gpg
diff --git a/debian/tests/python-gpg b/debian/tests/python-gpg
new file mode 100644
index 0000000..a42ef02
--- /dev/null
+++ b/debian/tests/python-gpg
@@ -0,0 +1,6 @@
+# -*- python -*-
+# this will be loaded by different versions of python as a smoke test
+
+import gpg
+
+c = gpg.Context()
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100755
index 0000000..8b6a29f
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec python3 debian/tests/python-gpg
diff --git a/debian/tests/python3.5 b/debian/tests/python3.5
new file mode 100755
index 0000000..9e0aaef
--- /dev/null
+++ b/debian/tests/python3.5
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec python3.5 debian/tests/python-gpg
diff --git a/debian/tests/python3.6 b/debian/tests/python3.6
new file mode 100755
index 0000000..deb095e
--- /dev/null
+++ b/debian/tests/python3.6
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec python3.6 debian/tests/python-gpg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list