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