diff options
author | Dan Albert <danalbert@google.com> | 2016-01-12 13:10:44 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-01-12 13:11:18 -0800 |
commit | 0201238b6c7b50c04358d18962e88f702db8d81e (patch) | |
tree | 30fdffa4a6da95eca99ec5bb97b58cc0edf9c44b /tests | |
parent | 311857d7817b8b7f12c242d3b4999ba0cdff6185 (diff) | |
download | ndk-0201238b6c7b50c04358d18962e88f702db8d81e.tar.gz |
Lock another test to the ABIs it was written for.
Change-Id: I02d2ac056bfecfc4e2f1e292ba7be7c476a4a79f
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/build/issue17144-byteswap/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build/issue17144-byteswap/build.sh b/tests/build/issue17144-byteswap/build.sh index a12f82acb..258917537 100755 --- a/tests/build/issue17144-byteswap/build.sh +++ b/tests/build/issue17144-byteswap/build.sh @@ -29,7 +29,7 @@ if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%armeabi-v7 fail_panic "armeabi-v7a doesn't use rev instruction for __swap32()" fi -if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%x86*}" ]; then +if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%x86}" ]; then # checking x86 $NDK/ndk-build -B APP_ABI=x86 APP_CFLAGS=-save-temps NDK_DEBUG=1 fail_panic "can't compile for x86" @@ -39,7 +39,7 @@ if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%x86*}" ]; fail_panic "x86 doesn't use bswap instruction for __swap32()" fi -if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%mips*}" ]; then +if [ -z "$APP_ABI" -o "$APP_ABI" = "all" -o "$APP_ABI" != "${APP_ABI%%mips}" ]; then # checking mips # Note that MD_SWAP in machine/endian.h is only defined for r2. Add # -mips32r2 because default Android toolchain support r1 |