gitlab-ci: Add a manpage substitutions regression test
This catches the broken manpages in the autoconf build which appeared after commit2e497bf887
("man: s/__/@/g") and were only partly rectified by commit0445705a8b
("man: Fix automake seddery"). Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
parent
de0d39f825
commit
a505ecba10
|
@ -73,6 +73,8 @@ autotools-build-and-test:
|
||||||
- ../autogen.sh --prefix=/usr
|
- ../autogen.sh --prefix=/usr
|
||||||
- make -j$(nproc) distcheck
|
- make -j$(nproc) distcheck
|
||||||
- PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts make -j$(nproc) check
|
- PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts make -j$(nproc) check
|
||||||
|
- cd ..
|
||||||
|
- .gitlab-ci/manpages-check
|
||||||
|
|
||||||
meson-build-and-test:
|
meson-build-and-test:
|
||||||
extends: .common-build-and-test
|
extends: .common-build-and-test
|
||||||
|
@ -83,3 +85,4 @@ meson-build-and-test:
|
||||||
- meson -Dprefix=/usr -Dxephyr=true build/
|
- meson -Dprefix=/usr -Dxephyr=true build/
|
||||||
- ninja -C build/ install
|
- ninja -C build/ install
|
||||||
- ninja -C build/ test
|
- ninja -C build/ test
|
||||||
|
- .gitlab-ci/manpages-check
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/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
|
Loading…
Reference in New Issue