ci: Remove pot file test
A recent Docker image update broke the test, as xgettext now prints the following warning: warning: a fallback ITS rule file '/usr/share/gettext-0.21/its/metainfo.its' is used; it may not be in sync with the upstream That is completely unrelated to what the test is meant to catch and could be fixed by adding appstream to the image, but considering that - the test didn't actually catch the last template string regression - we no longer allow template strings in files that include translatable strings (and enforce that with a CI job) - as of gettext 0.20.2, the template handling really really is fixed (we'll see) let's remove the test rather than piling up more stuff in the container image. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1399
This commit is contained in:
parent
01fedeed8f
commit
8993de76f0
@ -9,7 +9,6 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
BUNDLE: "extensions-git.flatpak"
|
BUNDLE: "extensions-git.flatpak"
|
||||||
JS_LOG: "js-report.txt"
|
JS_LOG: "js-report.txt"
|
||||||
POT_LOG: "pot-update.txt"
|
|
||||||
|
|
||||||
.only_default: &only_default
|
.only_default: &only_default
|
||||||
only:
|
only:
|
||||||
@ -101,23 +100,6 @@ test:
|
|||||||
- build/meson-logs/testlog.txt
|
- build/meson-logs/testlog.txt
|
||||||
when: on_failure
|
when: on_failure
|
||||||
|
|
||||||
test-pot:
|
|
||||||
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
|
|
||||||
stage: test
|
|
||||||
needs: ["build"]
|
|
||||||
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)
|
|
||||||
<<: *only_default
|
|
||||||
|
|
||||||
flatpak:
|
flatpak:
|
||||||
stage: build
|
stage: build
|
||||||
needs: []
|
needs: []
|
||||||
|
Loading…
Reference in New Issue
Block a user