diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-19 11:57:23 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-08 22:24:02 +1000 |
commit | 4c3c3c502575556c4bc1b401235e641863b1bce6 (patch) | |
tree | f9e0349a566c4d64f4fb23e3a4e7f9e3c393874d /tools/testing/selftests/powerpc/dscr/Makefile | |
parent | selftests/powerpc: Include asm/cputable.h from utils.h (diff) | |
download | linux-dev-4c3c3c502575556c4bc1b401235e641863b1bce6.tar.xz linux-dev-4c3c3c502575556c4bc1b401235e641863b1bce6.zip |
selftests/powerpc: Don't run DSCR tests on old systems
The DSCR tests fail on systems that don't have DSCR, so check for the
DSCR in hwcap and skip if it's not present.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-5-mpe@ellerman.id.au
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/powerpc/dscr/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/dscr/Makefile b/tools/testing/selftests/powerpc/dscr/Makefile index cfa6eedcb66c..845db6273a1b 100644 --- a/tools/testing/selftests/powerpc/dscr/Makefile +++ b/tools/testing/selftests/powerpc/dscr/Makefile @@ -10,4 +10,4 @@ include ../../lib.mk $(OUTPUT)/dscr_default_test: LDLIBS += -lpthread -$(TEST_GEN_PROGS): ../harness.c +$(TEST_GEN_PROGS): ../harness.c ../utils.c |