[gnome-shell/wip/fmuellner/ci-test] ci: Check that pot file is generated correctly
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/ci-test] ci: Check that pot file is generated correctly
- Date: Wed, 13 Feb 2019 03:37:48 +0000 (UTC)
commit 788e4b213160597c1f47f52c4a617cbb7bec7a69
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 9 04:51:00 2019 +0100
ci: Check that pot file is generated correctly
This is to guard against the now infamous xgettext bug[0].
[0] https://savannah.gnu.org/bugs/?50920#comment5
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408
.gitlab-ci.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ee92447f..c0c03bf4f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ stages:
variables:
JS_LOG: "js-report.txt"
+ POT_LOG: "pot-update.txt"
js_check:
image: registry.fedoraproject.org/fedora:latest
@@ -60,3 +61,18 @@ test:
paths:
- build/meson-logs/testlog.txt
when: on_failure
+
+test-pot:
+ image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1
+ stage: test
+ before_script:
+ - ninja -C mutter/build install
+ script:
+ # Check that pot files are generated correctly:
+ # https://savannah.gnu.org/bugs/?50920#comment5
+ - ninja -C build gnome-shell-pot 2>&1 | awk '
+ BEGIN { start=0; }
+ start==1 { print $0; }
+ /gnome-shell-pot/ { start=1; }
+ ' | tee $POT_LOG
+ - (! grep -q . $POT_LOG)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]