blob: 818cc6167a1e6644e62c1a397118013901f8e81f [file] [log] [blame]
bartcb994472010-09-18 08:34:33 +00001#!/bin/sh
2#
petarj64d98bb2012-10-04 23:53:03 +00003# 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:
bartcb994472010-09-18 08:34:33 +00005# 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
petarj64d98bb2012-10-04 23:53:03 +000012case `uname -m` in
Elliott Hughesed398002017-06-21 14:41:24 -070013 ppc*|arm*|s390x|mips*) exit 1;;
bartcb994472010-09-18 08:34:33 +000014 *) exit 0;;
15esac