1#!/bin/sh
2#
3# Not all architectures are supported by exp-ptr. Currently, PowerPC, s390x,
4# MIPS 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
12case `uname -m` in
13  ppc*|arm*|s390x|mips*) exit 1;;
14  *)         exit 0;;
15esac
16