Remove watchdog-test from Makefile to move the test to selftests.
Add Makefile and .gitignore to 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.
Signed-off-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>
---
Documentation/watchdog/src/.gitignore | 1 -
Documentation/watchdog/src/Makefile | 2 +-
Documentation/watchdog/src/watchdog-test.c | 105 -----------------------
tools/testing/selftests/watchdog/.gitignore | 1 +
tools/testing/selftests/watchdog/Makefile | 8 ++
tools/testing/selftests/watchdog/watchdog-test.c | 105 +++++++++++++++++++++++
6 files changed, 115 insertions(+), 107 deletions(-)
delete mode 100644 Documentation/watchdog/src/watchdog-test.c
create mode 100644 tools/testing/selftests/watchdog/.gitignore
create mode 100644 tools/testing/selftests/watchdog/Makefile
create mode 100644 tools/testing/selftests/watchdog/watchdog-test.c
diff --git a/Documentation/watchdog/src/.gitignore b/Documentation/watchdog/src/.gitignore
index ac90997..ff0ebb5 100644
--- a/Documentation/watchdog/src/.gitignore
+++ b/Documentation/watchdog/src/.gitignore
@@ -1,2 +1 @@
watchdog-simple
-watchdog-test