Commit f467f7140339355978994ffcc23d569e7b4cea4d
Committed by
Linus Torvalds
1 parent
0fc9d10403
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
selftests: launch individual selftests from the main Makefile
Remove the run_tests script and launch the selftests by calling "make run_tests" from the selftests top directory instead. This delegates to the Makefile in each selftest directory, where it is decided how to launch the local test. This removes the need to add each selftest directory to the now removed "run_tests" top script. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Dave Young <dyoung@redhat.com> Cc: Christoph Lameter <cl@linux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 3 changed files with 10 additions and 10 deletions Side-by-side Diff
tools/testing/selftests/Makefile
tools/testing/selftests/breakpoints/Makefile
... | ... | @@ -11,11 +11,14 @@ |
11 | 11 | |
12 | 12 | all: |
13 | 13 | ifeq ($(ARCH),x86) |
14 | - gcc breakpoint_test.c -o run_test | |
14 | + gcc breakpoint_test.c -o breakpoint_test | |
15 | 15 | else |
16 | 16 | echo "Not an x86 target, can't build breakpoints selftests" |
17 | 17 | endif |
18 | 18 | |
19 | +run_tests: | |
20 | + ./breakpoint_test | |
21 | + | |
19 | 22 | clean: |
20 | - rm -fr run_test | |
23 | + rm -fr breakpoint_test |