Skip to content

Commit 02bf1f8

Browse files
Prabhakar Kushwahashuahkh
authored andcommitted
kselftest: Fix NULL INSTALL_PATH for TARGETS runlist
As per commit 131b30c ("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: 131b30c ("kselftest: exclude failed TARGETS from runlist") Signed-off-by: Prabhakar Kushwaha <[email protected]> Reviewed-by: Cristian Marussi <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent c78fd76 commit 02bf1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ ifdef INSTALL_PATH
215215
@# included in the generated runlist.
216216
for TARGET in $(TARGETS); do \
217217
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; \
219219
echo "[ -w /dev/kmsg ] && echo \"kselftest: Running tests in $$TARGET\" >> /dev/kmsg" >> $(ALL_SCRIPT); \
220220
echo "cd $$TARGET" >> $(ALL_SCRIPT); \
221221
echo -n "run_many" >> $(ALL_SCRIPT); \

0 commit comments

Comments
 (0)