[Python-modules-commits] [python-pex] 06/06: d/control, d/tests: Add a simple DEP-8 smoketest.

Barry Warsaw barry at moszumanska.debian.org
Tue Jun 2 19:01:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-pex.

commit 9c6b5441ecc40d8df57da76657990b5bf762404a
Author: Barry Warsaw <barry at debian.org>
Date:   Tue Jun 2 15:01:21 2015 -0400

    d/control, d/tests: Add a simple DEP-8 smoketest.
---
 debian/changelog       | 1 +
 debian/control         | 1 +
 debian/tests/control   | 2 ++
 debian/tests/smoketest | 4 ++++
 4 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ef6ec91..fb533ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-pex (1.0.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * d/control, d/tests: Add a simple DEP-8 smoketest.
 
  -- Barry Warsaw <barry at debian.org>  Tue, 02 Jun 2015 14:15:36 -0400
 
diff --git a/debian/control b/debian/control
index a2e8d63..3b7a2ec 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Homepage: https://github.com/pantsbuild/pex
 Section: python
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.4
+XS-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..3f6d8fb
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: smoketest
+Depends: @
diff --git a/debian/tests/smoketest b/debian/tests/smoketest
new file mode 100755
index 0000000..43c27e6
--- /dev/null
+++ b/debian/tests/smoketest
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+pex -m textwrap -o script
+./script

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pex.git



More information about the Python-modules-commits mailing list