Disable native tests when cross-compiling
This commit is contained in:
parent
732929f20f
commit
f61171ebb6
|
@ -117,8 +117,14 @@ if [ $# -eq 0 ]; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tests="array config error event includes pkgconfig.sh string variable"
|
if [ -n "$PKG_CONFIG_SYSROOT_DIR" ]; then
|
||||||
failures=
|
#XXX cross-compiling
|
||||||
|
tests="pkgconfig.sh"
|
||||||
|
failures="array config error event includes pkgconfig.sh string variable"
|
||||||
|
else
|
||||||
|
tests="array config error event includes pkgconfig.sh string variable"
|
||||||
|
failures=
|
||||||
|
fi
|
||||||
if $PKGCONFIG --exists "python-2.7"; then
|
if $PKGCONFIG --exists "python-2.7"; then
|
||||||
tests="$tests python.sh"
|
tests="$tests python.sh"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user