bart | cb99447 | 2010-09-18 08:34:33 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # |
petarj | 64d98bb | 2012-10-04 23:53:03 +0000 | [diff] [blame] | 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: |
bart | cb99447 | 2010-09-18 08:34:33 +0000 | [diff] [blame] | 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 | |
petarj | 64d98bb | 2012-10-04 23:53:03 +0000 | [diff] [blame] | 12 | case `uname -m` in |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 13 | ppc*|arm*|s390x|mips*) exit 1;; |
bart | cb99447 | 2010-09-18 08:34:33 +0000 | [diff] [blame] | 14 | *) exit 0;; |
| 15 | esac |