1# SPDX-License-Identifier: GPL-2.0 2all: 3 4include ../lib.mk 5 6TEST_PROGS := mem-on-off-test.sh 7override RUN_TESTS := @./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" 8 9override EMIT_TESTS := echo "$(subst @,,$(RUN_TESTS))" 10 11run_full_test: 12 @/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]" 13 14clean: 15