Merge pull request #7021 from lpy4105/issue/backport-do-not-run-x86-tests-on-arm64

Backport 2.28: all.sh: test_m32_xx is not supported on arm64 host 
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index daa0fb6..1490bd0 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -2968,7 +2968,7 @@
 }
 support_test_m32_o0 () {
     case $(uname -m) in
-        *64*) true;;
+        amd64|x86_64) true;;
         *) false;;
     esac
 }