1
0
Fork 0

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>
hifive-unleashed-5.1
Shuah Khan 2016-09-13 13:03:35 -06:00
parent b6ebbac51b
commit 02a35aad8a
5 changed files with 10 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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