Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/powerpc/ptrace: Build the ptrace-gpr test as 32-bit when possible

The ptrace-gpr test can now be built 32-bit, so do that if that's the
compiler default rather than forcing a 64-bit build.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-9-mpe@ellerman.id.au

+3 -2
+3 -2
tools/testing/selftests/powerpc/ptrace/Makefile
··· 11 11 TESTS_64 := $(TM_TESTS) 12 12 TESTS_64 += core-pkey 13 13 TESTS_64 += perf-hwbreak 14 - TESTS_64 += ptrace-gpr 15 14 TESTS_64 += ptrace-hwbreak 16 15 TESTS_64 += ptrace-perf-hwbreak 17 16 TESTS_64 += ptrace-pkey ··· 18 19 TESTS_64 += ptrace-tar 19 20 TESTS_64 += ptrace-vsx 20 21 21 - TEST_GEN_PROGS := $(TESTS_64) 22 + TESTS += ptrace-gpr 23 + 24 + TEST_GEN_PROGS := $(TESTS) $(TESTS_64) 22 25 23 26 LOCAL_HDRS += $(patsubst %,$(selfdir)/powerpc/ptrace/%,$(wildcard *.h)) 24 27