[SCM] Debian package checker branch, master, updated. 2.2.8-12-gc23adee
The following commit has been merged in the master branch:
commit c23adeeb32e93e490ff926d44f6e5619f78d09d8
Author: Russ Allbery <rra@debian.org>
Date: Sat Mar 28 12:06:13 2009 -0700
Remove and recreate debian/tests for every test run
* debian/rules:
+ [RA] Remove and recreate debian/tests before runtests or check-tag to
avoid spurious test failures from lingering old files.
diff --git a/debian/changelog b/debian/changelog
index aee2948..6c7bda9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,10 @@ lintian (2.2.9) UNRELEASED; urgency=low
+ [CW] Add karmic as an allowable distribution for Ubuntu (thanks, Soren
Hansen).
+ * debian/rules:
+ + [RA] Remove and recreate debian/tests before runtests or check-tag to
+ avoid spurious test failures from lingering old files.
+
* frontend/lintian:
+ [RA] Belatedly bump the lab format version for many recent changes.
diff --git a/debian/rules b/debian/rules
index 0a3951a..49352c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,8 @@ tag =
runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles)
@echo .... running tests ....
- [ -d debian/tests ] || mkdir debian/tests
+ rm -rf debian/tests
+ mkdir debian/tests
LINTIAN_ROOT="" $(PERL) testset/runtests -k testset debian/tests $(onlyrun)
LINTIAN_ROOT="" $(PERL) t/runtests -k t debian/tests $(onlyrun)
if [ "$(onlyrun)" = "" ]; then touch $@; fi
@@ -27,7 +28,8 @@ check-tag:
@if [ "$(tag)" = "" ]; then \
echo 'Specify tag to test with tag=<tag>'; exit 1; \
fi
- [ -d debian/tests ] || mkdir debian/tests
+ rm -rf debian/tests
+ mkdir debian/tests
LINTIAN_ROOT="" $(PERL) t/runtests -k -t $(tag) t debian/tests
# this target is only run manually
--
Debian package checker
Reply to: