summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-04 00:48:24 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-04 02:01:52 +0100
commit2f7ea368630d568a6bec7c8397331c92630e75b2 (patch)
tree962bf30b30079c9b7724b8b5f986c7b17269572f
parent9b4f722b0d7e1f86827dd88a4f09fb2cf4661461 (diff)
i18n: po4a: Add a test that po4a.cfg is up to date
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/tests/control2
-rwxr-xr-xtests/tests/i18n-po4a-uptodate11
2 files changed, 12 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control
index 4a1ccc2..6559071 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -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
-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
diff --git a/tests/tests/i18n-po4a-uptodate b/tests/tests/i18n-po4a-uptodate
new file mode 100755
index 0000000..98aa69a
--- /dev/null
+++ b/tests/tests/i18n-po4a-uptodate
@@ -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