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

selftests: move watchdog tests from Documentation/watchdog

Remove watchdog-test from Makefile to move the test to selftests.

Add Makefile and .gitignore for watchdog-test. watchdog-test will
not be run as part of selftests suite and will not be included in
install targets. It can be built separately for now.

Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>

+10 -2
-1
Documentation/watchdog/src/.gitignore
··· 1 1 watchdog-simple 2 - watchdog-test
+1 -1
Documentation/watchdog/src/Makefile
··· 1 1 # List of programs to build 2 - hostprogs-y := watchdog-simple watchdog-test 2 + hostprogs-y := watchdog-simple 3 3 4 4 # Tell kbuild to always build the programs 5 5 always := $(hostprogs-y)
Documentation/watchdog/src/watchdog-test.c tools/testing/selftests/watchdog/watchdog-test.c
+1
tools/testing/selftests/watchdog/.gitignore
··· 1 + watchdog-test
+8
tools/testing/selftests/watchdog/Makefile
··· 1 + TEST_PROGS := watchdog-test 2 + 3 + all: $(TEST_PROGS) 4 + 5 + include ../lib.mk 6 + 7 + clean: 8 + rm -fr $(TEST_PROGS)