Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kselftest: Fix NULL INSTALL_PATH for TARGETS runlist

As per commit 131b30c94fbc ("kselftest: exclude failed TARGETS from
runlist") failed targets were excluded from the runlist. But value
$$INSTALL_PATH is always NULL. It should be $INSTALL_PATH instead
$$INSTALL_PATH.

So, fix Makefile to use $INSTALL_PATH.

Fixes: 131b30c94fbc ("kselftest: exclude failed TARGETS from runlist")
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Prabhakar Kushwaha and committed by
Shuah Khan
02bf1f8b c78fd76f

+1 -1
+1 -1
tools/testing/selftests/Makefile
··· 215 215 @# included in the generated runlist. 216 216 for TARGET in $(TARGETS); do \ 217 217 BUILD_TARGET=$$BUILD/$$TARGET; \ 218 - [ ! -d $$INSTALL_PATH/$$TARGET ] && echo "Skipping non-existent dir: $$TARGET" && continue; \ 218 + [ ! -d $(INSTALL_PATH)/$$TARGET ] && echo "Skipping non-existent dir: $$TARGET" && continue; \ 219 219 echo "[ -w /dev/kmsg ] && echo \"kselftest: Running tests in $$TARGET\" >> /dev/kmsg" >> $(ALL_SCRIPT); \ 220 220 echo "cd $$TARGET" >> $(ALL_SCRIPT); \ 221 221 echo -n "run_many" >> $(ALL_SCRIPT); \