Commit a505ecba authored by Sven Joachim's avatar Sven Joachim Committed by Michel Dänzer
Browse files

gitlab-ci: Add a manpage substitutions regression test

This catches the broken manpages in the autoconf build which appeared
after commit 2e497bf8 ("man: s/__/@/g") and were only partly
rectified by commit 0445705a

 ("man: Fix automake seddery").
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <mdaenzer@redhat.com>
parent de0d39f8
Pipeline #68289 passed with stages
in 8 minutes and 1 second
......@@ -73,6 +73,8 @@ autotools-build-and-test:
- ../autogen.sh --prefix=/usr
- make -j$(nproc) distcheck
- PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts make -j$(nproc) check
- cd ..
- .gitlab-ci/manpages-check
meson-build-and-test:
extends: .common-build-and-test
......@@ -83,3 +85,4 @@ meson-build-and-test:
- meson -Dprefix=/usr -Dxephyr=true build/
- ninja -C build/ install
- ninja -C build/ test
- .gitlab-ci/manpages-check
#!/bin/sh
find build/ -regex ".*\.[1-9]$" -exec grep -E \
@vendorversion@\|\
@xorgversion@\|\
@xservername@\|\
@xconfigfile@\|\
@projectroot@\|\
@apploaddir@\|\
@appmansuffix@\|\
@drivermansuffix@\|\
@adminmansuffix@\|\
@libmansuffix@\|\
@miscmansuffix@\|\
@filemansuffix@\|\
@logdir@\|\
@datadir@\|\
@mandir@\|\
@sysconfdir@\|\
@xconfigdir@\|\
@xkbdir@\|\
@XKB_DFLT_RULES@\|\
@XKB_DFLT_MODEL@\|\
@XKB_DFLT_LAYOUT@\|\
@XKB_DFLT_VARIANT@\|\
@XKB_DFLT_OPTIONS@\|\
@bundle_id_prefix@\|\
@modulepath@\|\
@suid_wrapper_dir@\|\
@default_font_path@\
'{}' + && { echo "Missing manpage substitutions detected!" >&2 ; exit 1; }
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment