[Python-apps-commits] r10929 - in packages/bleachbit/trunk/debian (5 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Wed Jun 11 11:34:07 UTC 2014
Date: Wednesday, June 11, 2014 @ 11:34:06
Author: dktrkranz
Revision: 10929
Provide autopkgtests smoke test
Added:
packages/bleachbit/trunk/debian/tests/
packages/bleachbit/trunk/debian/tests/control
packages/bleachbit/trunk/debian/tests/smoketest
Modified:
packages/bleachbit/trunk/debian/changelog
packages/bleachbit/trunk/debian/control
Modified: packages/bleachbit/trunk/debian/changelog
===================================================================
--- packages/bleachbit/trunk/debian/changelog 2014-06-11 11:04:18 UTC (rev 10928)
+++ packages/bleachbit/trunk/debian/changelog 2014-06-11 11:34:06 UTC (rev 10929)
@@ -5,6 +5,9 @@
- Refresh for new upstream release.
* debian/copyright:
- Update copyright years.
+ * debian/tests/*:
+ - Provide a simple test to check whether the package is functional
+ as per DEP8 (autopkgtests).
-- Luca Falavigna <dktrkranz at debian.org> Wed, 11 Jun 2014 12:43:00 +0200
Modified: packages/bleachbit/trunk/debian/control
===================================================================
--- packages/bleachbit/trunk/debian/control 2014-06-11 11:04:18 UTC (rev 10928)
+++ packages/bleachbit/trunk/debian/control 2014-06-11 11:34:06 UTC (rev 10929)
@@ -4,16 +4,21 @@
Maintainer: Luca Falavigna <dktrkranz at debian.org>
Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: python (>= 2.6.6-3~), gettext
+Build-Depends-Indep: python (>= 2.6.6-3~),
+ gettext
Standards-Version: 3.9.5
X-Python-Version: >= 2.5
Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/bleachbit/trunk/
Vcs-Browser: http://anonscm.debian.org/viewsvn/python-apps/packages/bleachbit/trunk/
Homepage: http://bleachbit.sourceforge.net
+XS-Testsuite: autopkgtest
Package: bleachbit
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python (>= 2.6) | python-simplejson, python-gtk2 (>= 2.14), menu
+Depends: ${misc:Depends}, ${python:Depends},
+ python (>= 2.6) | python-simplejson,
+ python-gtk2 (>= 2.14),
+ menu
Recommends: python-notify
Description: delete unnecessary files from the system
BleachBit deletes unnecessary files to free valuable disk space, maintain
Added: packages/bleachbit/trunk/debian/tests/control
===================================================================
--- packages/bleachbit/trunk/debian/tests/control (rev 0)
+++ packages/bleachbit/trunk/debian/tests/control 2014-06-11 11:34:06 UTC (rev 10929)
@@ -0,0 +1,2 @@
+Tests: smoketest
+Depends: bleachbit
Added: packages/bleachbit/trunk/debian/tests/smoketest
===================================================================
--- packages/bleachbit/trunk/debian/tests/smoketest (rev 0)
+++ packages/bleachbit/trunk/debian/tests/smoketest 2014-06-11 11:34:06 UTC (rev 10929)
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+bleachbit -v
+bleachbit -l
+touch /tmp/bleachbit_test_tmp_file
+bleachbit -c system.tmp
+[ -f tmp/bleachbit_test_tmp_file ] && exit 1 || exit 0
More information about the Python-apps-commits
mailing list