Files
ftmemsim-valgrind/exp-ptrcheck/tests/is_arch_supported
Bart Van Assche d4a0dd3995 Skip exp-ptrcheck regression tests on PowerPC and ARM. Based on a patch by
Maynard Johnson -- see also #247526.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11360
2010-09-18 08:34:33 +00:00

16 lines
471 B
Bash
Executable File

#!/bin/sh
#
# Not all architectures are supported by exp-ptr. Currently, PowerPC and ARM
# are not supported and will fail these tests as follows:
# WARNING: exp-ptrcheck on <blah> platforms: stack and global array
# WARNING: checking is not currently supported. Only heap checking is
# WARNING: supported.
#
# So we use this script to prevent these tests from running on unsupported
# architectures.
case `uname -i` in
ppc*|arm*) exit 1;;
*) exit 0;;
esac