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>
This commit is contained in:
Shuah Khan 2016-09-13 13:03:35 -06:00
Родитель b6ebbac51b
Коммит 02a35aad8a
5 изменённых файлов: 10 добавлений и 2 удалений

1
Documentation/watchdog/src/.gitignore поставляемый
Просмотреть файл

@ -1,2 +1 @@
watchdog-simple watchdog-simple
watchdog-test

Просмотреть файл

@ -1,5 +1,5 @@
# List of programs to build # List of programs to build
hostprogs-y := watchdog-simple watchdog-test hostprogs-y := watchdog-simple
# Tell kbuild to always build the programs # Tell kbuild to always build the programs
always := $(hostprogs-y) always := $(hostprogs-y)

1
tools/testing/selftests/watchdog/.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1 @@
watchdog-test

Просмотреть файл

@ -0,0 +1,8 @@
TEST_PROGS := watchdog-test
all: $(TEST_PROGS)
include ../lib.mk
clean:
rm -fr $(TEST_PROGS)