[Python-modules-commits] [flufl.lock] 01/04: * d/tests: - Use the simpler Test-Command syntax. - Removed smoketest-{2, 3}, unittest-{2, 3} files.
Barry Warsaw
barry at moszumanska.debian.org
Thu Oct 29 14:50:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository flufl.lock.
commit df895d6ff6b812eba325f0f042efe1277274c41c
Author: Barry Warsaw <barry at python.org>
Date: Thu Oct 29 10:40:53 2015 -0400
* d/tests:
- Use the simpler Test-Command syntax.
- Removed smoketest-{2,3}, unittest-{2,3} files.
---
debian/changelog | 3 +++
debian/tests/control | 8 +++++---
debian/tests/smoketest-2 | 4 ----
debian/tests/smoketest-3 | 4 ----
debian/tests/unittest-2 | 3 ---
debian/tests/unittest-3 | 3 ---
6 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7ae6e19..1ee500e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ flufl.lock (2.4-2) UNRELEASED; urgency=medium
* d/rules:
- Revert the previous change removing the bogus egg-info.
- Remove unnecessary override of dh_auto_install.
+ * d/tests:
+ - Use the simpler Test-Command syntax.
+ - Removed smoketest-{2,3}, unittest-{2,3} files.
-- Barry Warsaw <barry at debian.org> Tue, 13 Oct 2015 11:54:42 -0400
diff --git a/debian/tests/control b/debian/tests/control
index 1dcdf00..8c3ca9f 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,10 +1,12 @@
-Tests: smoketest-2 smoketest-3
+Test-Command: python -c "import flufl.lock; print flufl.lock"
-Tests: unittest-2
+Test-Command: python3 -c "import flufl.lock; print(flufl.lock)"
+
+Test-Command: python -m unittest discover flufl.lock -vv
Depends: @, python-pkg-resources
Restrictions: allow-stderr
# Disabled due to: http://bugs.python.org/issue24168
-#Tests: unittest-3
+#Test-Command: python3 -m unittest discover flufl.lock -vv
#Depends: @, python3-pkg-resources
#Restrictions: allow-stderr
diff --git a/debian/tests/smoketest-2 b/debian/tests/smoketest-2
deleted file mode 100644
index e7a4084..0000000
--- a/debian/tests/smoketest-2
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/python
-
-import flufl.lock
-print flufl.lock.__file__, flufl.lock.__version__
diff --git a/debian/tests/smoketest-3 b/debian/tests/smoketest-3
deleted file mode 100644
index 167c5cc..0000000
--- a/debian/tests/smoketest-3
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/python3
-
-import flufl.lock
-print(flufl.lock.__file__, flufl.lock.__version__)
diff --git a/debian/tests/unittest-2 b/debian/tests/unittest-2
deleted file mode 100644
index 350f4d5..0000000
--- a/debian/tests/unittest-2
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-python -m unittest discover flufl.lock -vv
diff --git a/debian/tests/unittest-3 b/debian/tests/unittest-3
deleted file mode 100644
index 5e6e4ed..0000000
--- a/debian/tests/unittest-3
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-python3 -m unittest discover flufl.lock -vv
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flufl.lock.git
More information about the Python-modules-commits
mailing list