]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/exp-sgcheck/tests/is_arch_supported
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / exp-sgcheck / tests / is_arch_supported
1 #!/bin/sh
2 #
3 # Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x
4 # 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.
8 #
9 # So we use this script to prevent these tests from running on unsupported
10 # architectures.
11
12 case `uname -i` in
13   ppc*|arm*|s390x) exit 1;;
14   *)         exit 0;;
15 esac