[Pkg-owncloud-commits] [php-sabre-vobject] 02/04: Simplify DEP-8 handling

David Prévot taffit at moszumanska.debian.org
Tue Sep 23 03:10:50 UTC 2014


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

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 872f80d6ff6d4e93227168ecabcebb9cb07c974b
Author: David Prévot <taffit at debian.org>
Date:   Mon Sep 22 22:23:47 2014 -0400

    Simplify DEP-8 handling
---
 debian/control       | 1 -
 debian/tests/control | 4 ++--
 debian/tests/phpcs   | 2 --
 debian/tests/phpunit | 3 ---
 4 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index ec73086..e92d88d 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,6 @@ Standards-Version: 3.9.5
 Homepage: http://sabre.io/vobject/
 Vcs-Git: git://anonscm.debian.org/pkg-owncloud/php-sabre-vobject.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/php-sabre-vobject.git
-XS-Testsuite: autopkgtest
 
 Package: php-sabre-vobject
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
index c36408d..8e985b5 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,6 @@
-Tests: phpcs
+Test-Command: phpcs -v --standard=tests/phpcs/ruleset.xml /usr/share/php/Sabre/VObject
 Depends: @, php-codesniffer
 
-Tests: phpunit
+Test-Command: cd tests && phpunit
 Restrictions: rw-build-tree
 Depends: @, php-symfony-classloader, phpunit
diff --git a/debian/tests/phpcs b/debian/tests/phpcs
deleted file mode 100755
index 99be998..0000000
--- a/debian/tests/phpcs
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-phpcs -v --standard=tests/phpcs/ruleset.xml /usr/share/php/Sabre/VObject
diff --git a/debian/tests/phpunit b/debian/tests/phpunit
deleted file mode 100755
index de13842..0000000
--- a/debian/tests/phpunit
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-cd tests
-phpunit

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list