Merge pull request #7875 from keymanapp/chore/linux/packagebuild

chore(linux): Improve package build
This commit is contained in:
Eberhard Beilharz 2022-12-07 15:34:58 +01:00 • committed by GitHub
commit fe7fbda749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,15 @@
SRCDIR=${top_srcdir:-$(realpath $(dirname $0)/../..)}
PID_FILE=/tmp/keymanutil-tests-pids
if [ -v KEYMAN_PKG_BUILD ]; then
# During package builds we skip these tests - they often fail, e.g.
# during Debian reproducibility testing with an error like
# "cannot open display: :32"
echo "1..1"
echo "ok 1 # SKIP on package build"
exit 0
fi
if ! which Xvfb > /dev/null || ! which Xephyr > /dev/null || ! which metacity > /dev/null; then
echo "Please install Xvfb, Xephyr and metacity before running these tests!"
exit 1