1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/powerpc/signal
Madhavan Srinivasan 108e5e6833 selftests/powerpc: make sub-folders buildable on their own
Build breaks when executing make with run_tests for sub-folders
under powerpc. This is because, CFLAGS and GIT_VERSION macros are
defined in Makefile of toplevel powerpc folder.

  make: Entering directory '/home/maddy/linux/tools/testing/selftests/powerpc/mm'
  gcc     hugetlb_vs_thp_test.c ../harness.c ../utils.c  -o /home/maddy/selftest_output//hugetlb_vs_thp_test
  hugetlb_vs_thp_test.c:6:10: fatal error: utils.h: No such file or directory
      6 | #include "utils.h"
        |          ^~~~~~~~~
  compilation terminated.

Fix this by adding the flags.mk in each sub-folder Makefile. Also remove
the CFLAGS and GIT_VERSION macros from powerpc/ folder Makefile since
the same is definied in flags.mk

Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229093711.581230-3-maddy@linux.ibm.com
2024-04-29 23:54:42 +10:00
..
.gitignore selftests/powerpc: Add a test of sigreturning to an unaligned address 2021-12-25 10:56:05 +11:00
Makefile selftests/powerpc: make sub-folders buildable on their own 2024-04-29 23:54:42 +10:00
settings selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm 2020-03-25 12:09:30 +11:00
sig_sc_double_restart.c powerpc: Use trap metadata to prevent double restart rather than zeroing trap 2020-05-15 11:58:54 +10:00
sigfuz.c selftests/powerpc: Reduce sigfuz runtime to ~60s 2019-10-24 16:57:37 +11:00
signal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
signal.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
signal_tm.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
sigreturn_kernel.c selftests/powerpc: Add a test of sigreturning to the kernel 2021-12-21 20:17:59 +11:00
sigreturn_unaligned.c selftests/powerpc: Add a test of sigreturning to an unaligned address 2021-12-25 10:56:05 +11:00
sigreturn_vdso.c selftests/powerpc: Add a test of sigreturn vs VDSO 2020-03-20 13:10:21 +11:00