aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/tm/tm-sigreturn.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-07-26 22:24:58 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-07 21:49:25 +1000
commit1cdc6c14b0ddef699c947babd93992a8c0e874ed (patch)
tree1c3af41c866106cd326747dda5e6cc06ee6a0ad5 /tools/testing/selftests/powerpc/tm/tm-sigreturn.c
parentselftests/powerpc: Add a helper for checking if we're on ppc64le (diff)
downloadlinux-dev-1cdc6c14b0ddef699c947babd93992a8c0e874ed.tar.xz
linux-dev-1cdc6c14b0ddef699c947babd93992a8c0e874ed.zip
selftests/powerpc: Only run some tests on ppc64le
These tests are currently failing on (some) big endian systems. Until we can fix that, skip them unless we're on ppc64le. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/tm/tm-sigreturn.c')
-rw-r--r--tools/testing/selftests/powerpc/tm/tm-sigreturn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/tm/tm-sigreturn.c b/tools/testing/selftests/powerpc/tm/tm-sigreturn.c
index 85d63449243b..9a6017a1d769 100644
--- a/tools/testing/selftests/powerpc/tm/tm-sigreturn.c
+++ b/tools/testing/selftests/powerpc/tm/tm-sigreturn.c
@@ -55,6 +55,7 @@ int tm_sigreturn(void)
uint64_t ret = 0;
SKIP_IF(!have_htm());
+ SKIP_IF(!is_ppc64le());
memset(&sa, 0, sizeof(sa));
sa.sa_handler = handler;