Merge pull request #8506 from keymanapp/chore/linux/cherry-pick/debian

chore(linux): Revert "Run and ignore autopkgtests on s390x" 🍒
This commit is contained in:
Eberhard Beilharz 2023-03-28 09:06:40 +02:00 committed by GitHub
commit 4d5e3e2237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 9 deletions

View file

@ -1,3 +1,9 @@
keyman (16.0.139-4) unstable; urgency=medium
* debian/tests: Revert previous change and ignore s390x from autopkgtests
-- Eberhard Beilharz <eb1@sil.org> Fri, 24 Mar 2023 16:05:07 +0100
keyman (16.0.139-3) unstable; urgency=medium
* debian/tests: Run autopkgtests on s390x but immediately return

View file

@ -2,4 +2,4 @@ Tests: test-build
Depends: @,
build-essential,
pkg-config,
Architecture: any
Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el riscv64

View file

@ -9,14 +9,6 @@ WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd "$WORKDIR"
if [ "$(dpkg --print-architecture)" == "s390x" ]; then
# libkmnkbp doesn't support big endian architectures
# (https://github.com/keymanapp/keyman/issues/5111), so it isn't
# build on s390x and we can't run the tests. Simply ignore.
echo "Not supported on s390x: OK"
exit 0
fi
# Test all include files are available
cat <<EOF > keymantest.c
#include <keyman/keyboardprocessor.h>