[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.3-66-geae576c



The following commit has been merged in the master branch:
commit eae576ca6e5b6f3055286699e1387a1d59111532
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Oct 13 20:30:28 2011 +0200

    Improved test coverage to above 80%
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/COVERAGE b/t/COVERAGE
index cc5d254..303ee74 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-10-13
-Coverage: 750/938 (79.96%), w. legacy tests: 859/938 (91.58%)
+Coverage: 753/940 (80.11%), w. legacy tests: 862/940 (91.70%)
 
 The following tags are not tested by the test suite:
 
@@ -9,8 +9,6 @@ binaries library-not-linked-against-libc
 binaries ocaml-custom-executable
 binaries program-not-linked-against-libc
 
-changelog-file html-changelog-without-text-version
-
 cruft source-contains-prebuilt-windows-binary
 
 deb-format tar-errors-from-data
diff --git a/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules b/t/tests/changelog-file-upstream-html-only/debian/debian/rules
similarity index 77%
copy from t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
copy to t/tests/changelog-file-upstream-html-only/debian/debian/rules
index 45fbec8..12f2c85 100644
--- a/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
+++ b/t/tests/changelog-file-upstream-html-only/debian/debian/rules
@@ -8,4 +8,4 @@ DOC:=debian/$(PKG)/usr/share/doc/$(PKG)
 
 override_dh_installchangelogs:
 	dh_installchangelogs
-	cp some-changelog $(DOC)/Changes
+	cp some-changelog.html $(DOC)/changelog.html
diff --git a/t/tests/changelog-file-upstream-html-only/desc b/t/tests/changelog-file-upstream-html-only/desc
new file mode 100644
index 0000000..efaec24
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/desc
@@ -0,0 +1,6 @@
+Testname: changelog-file-upstream-html-only
+Sequence: 6000
+Type: non-native
+Version: 1.0-1
+Description: Check HTML-only upstream changelog
+Test-For: html-changelog-without-text-version
diff --git a/t/tests/changelog-file-upstream-html-only/tags b/t/tests/changelog-file-upstream-html-only/tags
new file mode 100644
index 0000000..0407e01
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/tags
@@ -0,0 +1 @@
+E: changelog-file-upstream-html-only: html-changelog-without-text-version
diff --git a/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html b/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html
new file mode 100644
index 0000000..2a4614a
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <titl>Hallo World</title>
+</head>
+<body>
+  <p>A wonderful changelog written in HTML</p>
+</body>
+</html>

-- 
Debian package checker


Reply to: