mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
fix(linux): Fix autopkgtests
Autopkgtests couldn't find pkg-config, so this change adds that as
test dependency.
(cherry picked from commit 71462d9705)
This commit is contained in:
parent
f2f39efb8a
commit
096643395b
3 changed files with 8 additions and 6 deletions
|
|
@ -37,8 +37,8 @@ Build-Depends:
|
|||
metacity,
|
||||
gawk,
|
||||
Standards-Version: 4.6.1
|
||||
Vcs-Git: https://github.com/keymanapp/keyman.git [linux/debian]
|
||||
Vcs-Browser: https://github.com/keymanapp/keyman/tree/master/linux/debian
|
||||
Vcs-Git: https://github.com/keymanapp/keyman.git -b stable-16.0 [linux/debian]
|
||||
Vcs-Browser: https://github.com/keymanapp/keyman/tree/stable-16.0/linux/debian
|
||||
Homepage: https://www.keyman.com
|
||||
Rules-Requires-Root: binary-targets
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
Tests: test-build
|
||||
Depends: @, build-essential
|
||||
Depends: @,
|
||||
build-essential,
|
||||
pkg-config,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ set -e
|
|||
|
||||
WORKDIR=$(mktemp -d)
|
||||
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
|
||||
cd $WORKDIR
|
||||
cd "$WORKDIR"
|
||||
|
||||
# Test all include files are available
|
||||
cat <<EOF > keymantest.c
|
||||
|
|
@ -15,7 +15,7 @@ cat <<EOF > keymantest.c
|
|||
km_kbp_context c;
|
||||
EOF
|
||||
|
||||
gcc keymantest.c `pkg-config --cflags --libs keyman_kmn_processor`
|
||||
gcc keymantest.c "$(pkg-config --cflags --libs keyman_kmn_processor)"
|
||||
echo "build 1: OK"
|
||||
|
||||
# Test pkg-config file - include without path
|
||||
|
|
@ -24,5 +24,5 @@ cat <<EOF > keymantest.c
|
|||
km_kbp_context c;
|
||||
EOF
|
||||
|
||||
gcc keymantest.c `pkg-config --cflags --libs keyman_kmn_processor`
|
||||
gcc keymantest.c "$(pkg-config --cflags --libs keyman_kmn_processor)"
|
||||
echo "build 2: OK"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue