chiark / gitweb /
i18n: po4a: Add a test that po4a.cfg is up to date
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 3 Oct 2018 23:48:24 +0000 (00:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 4 Oct 2018 01:01:52 +0000 (02:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/tests/control
tests/tests/i18n-po4a-uptodate [new file with mode: 0755]

index 4a1ccc2aaa38150974193e9ceba3b80c71971dd8..6559071e193535ac646c8871133ae2615b676671 100644 (file)
@@ -55,7 +55,7 @@ Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, sbuild, man-db
 Restrictions: x-dgit-schroot-build
 
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, sbuild, man-db
 Restrictions: x-dgit-schroot-build
 
-Tests: package-build spelling
+Tests: i18n-po4a-uptodate package-build spelling
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime
 Restrictions: x-dgit-git-only
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime
 Restrictions: x-dgit-git-only
diff --git a/tests/tests/i18n-po4a-uptodate b/tests/tests/i18n-po4a-uptodate
new file mode 100755 (executable)
index 0000000..98aa69a
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -e
+. tests/lib
+
+t-restrict x-dgit-git-only
+
+cd $root
+
+make -C po4a po4a.cfg.check
+
+t-ok