From cd20ada69ea0d8175eb4f1186d4d776027d031dc Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 6 Sep 2016 02:24:34 +0200 Subject: [PATCH] Disable native tests when cross-compiling --- tests/tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.sh b/tests/tests.sh index f74e4ed..37ec1be 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -119,6 +119,9 @@ if [ $# -eq 0 ]; then exit $? fi +#XXX cross-compiling +[ -n "$PKG_CONFIG_SYSROOT_DIR" ] && exit 0 + while [ $# -ne 0 ]; do target="$1" shift