diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2016-09-13 15:03:35 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-09-20 11:58:34 -0400 |
commit | 02a35aad8a3e0b2bde1986053cefc2fcd63aee5d (patch) | |
tree | a06f839bc7e20151e1efef5765c7db5d1000e8e7 | |
parent | b6ebbac51bedf9e98e837688bc838f400196da5e (diff) |
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>
-rw-r--r-- | Documentation/watchdog/src/.gitignore | 1 | ||||
-rw-r--r-- | Documentation/watchdog/src/Makefile | 2 | ||||
-rw-r--r-- | tools/testing/selftests/watchdog/.gitignore | 1 | ||||
-rw-r--r-- | tools/testing/selftests/watchdog/Makefile | 8 | ||||
-rw-r--r-- | tools/testing/selftests/watchdog/watchdog-test.c (renamed from Documentation/watchdog/src/watchdog-test.c) | 0 |
5 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/watchdog/src/.gitignore b/Documentation/watchdog/src/.gitignore index ac90997dba93..ff0ebb540333 100644 --- a/Documentation/watchdog/src/.gitignore +++ b/Documentation/watchdog/src/.gitignore | |||
@@ -1,2 +1 @@ | |||
1 | watchdog-simple | watchdog-simple | |
2 | watchdog-test | ||
diff --git a/Documentation/watchdog/src/Makefile b/Documentation/watchdog/src/Makefile index 4a892c304983..47be791827d4 100644 --- a/Documentation/watchdog/src/Makefile +++ b/Documentation/watchdog/src/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # List of programs to build | 1 | # List of programs to build |
2 | hostprogs-y := watchdog-simple watchdog-test | 2 | hostprogs-y := watchdog-simple |
3 | 3 | ||
4 | # Tell kbuild to always build the programs | 4 | # Tell kbuild to always build the programs |
5 | always := $(hostprogs-y) | 5 | always := $(hostprogs-y) |
diff --git a/tools/testing/selftests/watchdog/.gitignore b/tools/testing/selftests/watchdog/.gitignore new file mode 100644 index 000000000000..5aac51575c7e --- /dev/null +++ b/tools/testing/selftests/watchdog/.gitignore | |||
@@ -0,0 +1 @@ | |||
watchdog-test | |||
diff --git a/tools/testing/selftests/watchdog/Makefile b/tools/testing/selftests/watchdog/Makefile new file mode 100644 index 000000000000..f863c664e3d1 --- /dev/null +++ b/tools/testing/selftests/watchdog/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | TEST_PROGS := watchdog-test | ||
2 | |||
3 | all: $(TEST_PROGS) | ||
4 | |||
5 | include ../lib.mk | ||
6 | |||
7 | clean: | ||
8 | rm -fr $(TEST_PROGS) | ||
diff --git a/Documentation/watchdog/src/watchdog-test.c b/tools/testing/selftests/watchdog/watchdog-test.c index 6983d05097e2..6983d05097e2 100644 --- a/Documentation/watchdog/src/watchdog-test.c +++ b/tools/testing/selftests/watchdog/watchdog-test.c | |||