From ed4104134252533a6daf39b08ba4751f0aab39c0 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Thu, 31 Oct 2019 23:33:31 +0800 Subject: [PATCH] Fix armhf tests --- tests/basic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic.sh b/tests/basic.sh index bfcafda301..b813b88992 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -3,7 +3,7 @@ [ "$1" ] || exit 1 naive="$1" eval "$EXTRA_FLAGS" -if [ "$use_sysroot" = true ]; then +if [ "$(uname)" = Linux ]; then case "$target_cpu" in arm64) naive="qemu-aarch64 -L src/build/linux/debian_sid_arm64-sysroot $naive";; arm) naive="qemu-arm -L src/build/linux/debian_sid_arm-sysroot $naive";;