summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/memory-hotplug/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/memory-hotplug/Makefile')
-rw-r--r--tools/testing/selftests/memory-hotplug/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile
index 350bfeda3aa8..e0a625e34f40 100644
--- a/tools/testing/selftests/memory-hotplug/Makefile
+++ b/tools/testing/selftests/memory-hotplug/Makefile
@@ -1,6 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
all:
-run_tests:
- @/bin/sh ./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
+include ../lib.mk
+
+TEST_PROGS := mem-on-off-test.sh
+
+run_full_test:
+ @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
clean: