]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
selftests/powerpc: Only run some tests on ppc64le
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Jul 2018 12:24:58 +0000 (22:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:25 +0000 (21:49 +1000)
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>
tools/testing/selftests/powerpc/tm/tm-sigreturn.c
tools/testing/selftests/powerpc/tm/tm-tar.c
tools/testing/selftests/powerpc/tm/tm-vmxcopy.c

index 85d63449243b4c0e2be58465988ce0d100e98aa8..9a6017a1d7690733f22e0063b5491719c0dcbc9c 100644 (file)
@@ -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;
index 2d2fcc2b7a6006f991af5ef32336065a7d95cb67..f31fe5a28ddb9d85976b0cf877fb4806ca29cac8 100644 (file)
@@ -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++)
        {
index 0274de7b11f38a66477ce4c70f23de16e74b6727..fe52811584ae0bfa9b3098e1c5e455bf9379e627 100644 (file)
@@ -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);