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