summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2017-09-09 00:05:50 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2017-09-21 15:55:38 +0200
commite2fb65594cae9a016fab4639a5d22a914f1e16c8 (patch)
tree11fb7876236ccfc7a075d7dbdeeb2e1fc411c247 /tools
parentselftests: lib.mk: fix test executable status check to use full path (diff)
downloadlinux-e2fb65594cae9a016fab4639a5d22a914f1e16c8.tar.xz
linux-e2fb65594cae9a016fab4639a5d22a914f1e16c8.zip
selftests: watchdog: fix to use TEST_GEN_PROGS and remove clean
TEST_PROGS should be used for test scripts that don't ned to be built. Use TEST_GEN_PROGS instead which is intended for test executables. Remove clean target and let the common clean take care of cleaning. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/watchdog/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/testing/selftests/watchdog/Makefile b/tools/testing/selftests/watchdog/Makefile
index f863c664e3d1..ee068511fd0b 100644
--- a/tools/testing/selftests/watchdog/Makefile
+++ b/tools/testing/selftests/watchdog/Makefile
@@ -1,8 +1,3 @@
-TEST_PROGS := watchdog-test
-
-all: $(TEST_PROGS)
+TEST_GEN_PROGS := watchdog-test
include ../lib.mk
-
-clean:
- rm -fr $(TEST_PROGS)