mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-11 14:01:48 +00:00
Some hardware platforms will return "unknown" for 'uname -i', so it is more accurate and common to run 'uname -m' which returns machine hardware name. This way, some platforms that do not support sgcheck will avoid running tests for it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13022
16 lines
496 B
Bash
Executable File
16 lines
496 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*) exit 1;;
|
|
*) exit 0;;
|
|
esac
|