Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sven Joachim
xserver
Commits
52b9029a
Commit
52b9029a
authored
Oct 03, 2019
by
Sven Joachim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: Add a manpage substitutions regression test
parent
726e4230
Pipeline
#68168
failed with stages
in 5 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
.gitlab-ci.yml
.gitlab-ci.yml
+3
-0
.gitlab-ci/manpages-check
.gitlab-ci/manpages-check
+33
-0
No files found.
.gitlab-ci.yml
View file @
52b9029a
...
...
@@ -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
.gitlab-ci/manpages-check
0 → 100755
View file @
52b9029a
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment