[genbackupdata] Delete build directory before running coverage tests
Michel Alexandre Salim
salimma at fedoraproject.org
Sun Jul 8 09:06:45 UTC 2012
commit 5848c40bd7a6949f2e567ec2d7452d5b8efa8b48
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Sun Jul 8 16:06:19 2012 +0700
Delete build directory before running coverage tests
genbackupdata.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/genbackupdata.spec b/genbackupdata.spec
index 4e3bd1d..31f6255 100644
--- a/genbackupdata.spec
+++ b/genbackupdata.spec
@@ -49,6 +49,9 @@ make genbackupdata.1
%check
+# CoverageTestRunner trips up on build directory;
+# since we've already done the install phase, remove it first
+rm -rf build
make check
@@ -63,6 +66,9 @@ make check
* Sun Jul 8 2012 Michel Salim <salimma at fedoraproject.org> - 1.6-2
- Remove deprecated %%{python_sitelib} declaration
- Switch source URL to use the Debian-hosted file
+- Delete build directory before doing coverage tests; the coverage
+ exclusion list does not include the built version of the excluded
+ modules
* Sun Jun 3 2012 Michel Salim <salimma at fedoraproject.org> - 1.6-1
- Initial package
More information about the scm-commits
mailing list