git-HOWTO.txt: Add to repository
[valgrind.git] / exp-sgcheck / tests / is_arch_supported
blob818cc6167a1e6644e62c1a397118013901f8e81f
1 #!/bin/sh
3 # Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x,
4 # MIPS and ARM are not supported and will fail these tests as follows:
5 # WARNING: exp-ptrcheck on <blah> platforms: stack and global array
6 # WARNING: checking is not currently supported. Only heap checking is
7 # WARNING: supported.
9 # So we use this script to prevent these tests from running on unsupported
10 # architectures.
12 case `uname -m` in
13 ppc*|arm*|s390x|mips*) exit 1;;
14 *) exit 0;;
15 esac