chore(linux): Revert "Run and ignore autopkgtests on s390x"

This reverts commit 2f716b3e51.

(cherry picked from commit 7a9f366c6a)
This commit is contained in:
Eberhard Beilharz 2023-03-24 16:04:10 +01:00
parent 0b2c5c99aa
commit 25cf7d2ed7
No known key found for this signature in database
GPG key ID: E9140597606020D3
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>