diff --git a/exp-sgcheck/tests/is_arch_supported b/exp-sgcheck/tests/is_arch_supported index c2ae871ac..818cc6167 100755 --- a/exp-sgcheck/tests/is_arch_supported +++ b/exp-sgcheck/tests/is_arch_supported @@ -1,7 +1,7 @@ #!/bin/sh # -# Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x -# and ARM are not supported and will fail these tests as follows: +# Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x, +# MIPS and ARM are not supported and will fail these tests as follows: # WARNING: exp-ptrcheck on platforms: stack and global array # WARNING: checking is not currently supported. Only heap checking is # WARNING: supported. @@ -9,7 +9,7 @@ # So we use this script to prevent these tests from running on unsupported # architectures. -case `uname -i` in +case `uname -m` in ppc*|arm*|s390x|mips*) exit 1;; *) exit 0;; esac