Files
ftmemsim-valgrind/exp-sgcheck/tests/is_arch_supported
Julian Seward 082f9298a1 Add a port to Linux/TileGx. Zhi-Gang Liu (zliu@tilera.com)
Valgrind aspects, to match vex r3124.

See bug 339778 - Linux/TileGx platform support to Valgrind



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15080
2015-04-10 12:30:09 +00:00

16 lines
503 B
Bash
Executable File

#!/bin/sh
#
# 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 <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 -m` in
ppc*|arm*|s390x|mips*|tilegx) exit 1;;
*) exit 0;;
esac