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/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile
index afb2624c7048..e0a625e34f40 100644
--- a/tools/testing/selftests/memory-hotplug/Makefile
+++ b/tools/testing/selftests/memory-hotplug/Makefile
@@ -1,12 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
all:
include ../lib.mk
TEST_PROGS := mem-on-off-test.sh
-override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]"
-override EMIT_TESTS := echo "$(RUN_TESTS)"
run_full_test:
- @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
+ @/bin/bash ./mem-on-off-test.sh -r 10 && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
clean: