]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
kselftest: Fix NULL INSTALL_PATH for TARGETS runlist
authorPrabhakar Kushwaha <pkushwaha@marvell.com>
Tue, 22 Oct 2019 13:27:17 +0000 (13:27 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 7 Nov 2019 21:47:45 +0000 (14:47 -0700)
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>
tools/testing/selftests/Makefile

index 68abfed9bc8b28dcece54e991dabacc65041ad6f..6e762c42d7589ad5dde38d52a82480a896b573f7 100644 (file)
@@ -215,7 +215,7 @@ ifdef INSTALL_PATH
        @# included in the generated runlist.
        for TARGET in $(TARGETS); do \
                BUILD_TARGET=$$BUILD/$$TARGET;  \
-               [ ! -d $$INSTALL_PATH/$$TARGET ] && echo "Skipping non-existent dir: $$TARGET" && continue; \
+               [ ! -d $(INSTALL_PATH)/$$TARGET ] && echo "Skipping non-existent dir: $$TARGET" && continue; \
                echo "[ -w /dev/kmsg ] && echo \"kselftest: Running tests in $$TARGET\" >> /dev/kmsg" >> $(ALL_SCRIPT); \
                echo "cd $$TARGET" >> $(ALL_SCRIPT); \
                echo -n "run_many" >> $(ALL_SCRIPT); \