Skip to content

Commit

Permalink
selftests/powerpc: Only run some tests on ppc64le
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman committed Aug 7, 2018
1 parent 95f9b3a commit 1cdc6c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/tm/tm-sigreturn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/tm/tm-tar.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ int test_tar(void)
int i;

SKIP_IF(!have_htm());
SKIP_IF(!is_ppc64le());

for (i = 0; i < num_loops; i++)
{
Expand Down
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/tm/tm-vmxcopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ int test_vmxcopy()
uint64_t aborted = 0;

SKIP_IF(!have_htm());
SKIP_IF(!is_ppc64le());

fd = mkstemp(tmpfile);
assert(fd >= 0);
Expand Down

0 comments on commit 1cdc6c1

Please sign in to comment.