[devscripts] 01/01: move test clean up to test rule

Nicholas Bamber periapt at moszumanska.debian.org
Sat Dec 5 12:54:37 UTC 2015


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

periapt pushed a commit to branch master
in repository devscripts.

commit c065c65f77b0e1f82c470c7afbb6b43ca2ee5ec4
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Sat Dec 5 12:54:31 2015 +0000

    move test clean up to test rule
---
 debian/rules  | 4 ++++
 test/Makefile | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 87f9c4f..0cfb25f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,7 @@ ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo ubuntu),ubuntu)
 else
 	dh_gencontrol -- -V'vendor:Suggests=' -V'vendor:Recommends=$(UBU_SUGGESTS)'
 endif
+
+override_dh_clean:
+	rm -rf test/uscan/gpg test/package_lifecycle
+
diff --git a/test/Makefile b/test/Makefile
index 342fe32..8bbce57 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -17,7 +17,6 @@ test:
 	fi
 	./test_uscan
 	./test_uscan_mangle
-	rm -rf uscan/gpg
 	./test_mk-origtargz
 
 test-installed:
@@ -33,7 +32,6 @@ test-installed:
 	fi
 	./test_uscan --installed
 	./test_uscan_mangle --installed
-	rm -rf uscan/gpg
 	./test_mk-origtargz --installed
 
 online-test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list