blob: bdf2e7f8f1dbc8e5a401b74723602b34804d75e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
#
# Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x
# 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*|s390x) exit 1;;
*) exit 0;;
esac
|