mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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>
This commit is contained in:
parent
95f9b3af40
commit
1cdc6c14b0
3 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,7 @@ int tm_sigreturn(void)
|
||||||
uint64_t ret = 0;
|
uint64_t ret = 0;
|
||||||
|
|
||||||
SKIP_IF(!have_htm());
|
SKIP_IF(!have_htm());
|
||||||
|
SKIP_IF(!is_ppc64le());
|
||||||
|
|
||||||
memset(&sa, 0, sizeof(sa));
|
memset(&sa, 0, sizeof(sa));
|
||||||
sa.sa_handler = handler;
|
sa.sa_handler = handler;
|
||||||
|
|
|
@ -26,6 +26,7 @@ int test_tar(void)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
SKIP_IF(!have_htm());
|
SKIP_IF(!have_htm());
|
||||||
|
SKIP_IF(!is_ppc64le());
|
||||||
|
|
||||||
for (i = 0; i < num_loops; i++)
|
for (i = 0; i < num_loops; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,6 +46,7 @@ int test_vmxcopy()
|
||||||
uint64_t aborted = 0;
|
uint64_t aborted = 0;
|
||||||
|
|
||||||
SKIP_IF(!have_htm());
|
SKIP_IF(!have_htm());
|
||||||
|
SKIP_IF(!is_ppc64le());
|
||||||
|
|
||||||
fd = mkstemp(tmpfile);
|
fd = mkstemp(tmpfile);
|
||||||
assert(fd >= 0);
|
assert(fd >= 0);
|
||||||
|
|
Loading…
Reference in a new issue