selftests: fix condition in run_tests
The check if there are any files to install in case of no files compares "X " with "X" so never false. Remove extra spaces. It may make sense to use make's $(if) function here. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
committed by
Shuah Khan
parent
99aacebecb
commit
c9f75047eb
@@ -70,7 +70,7 @@ endef
|
|||||||
|
|
||||||
run_tests: all
|
run_tests: all
|
||||||
ifdef building_out_of_srctree
|
ifdef building_out_of_srctree
|
||||||
@if [ "X$(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES)" != "X" ]; then \
|
@if [ "X$(TEST_PROGS)$(TEST_PROGS_EXTENDED)$(TEST_FILES)" != "X" ]; then \
|
||||||
rsync -aq $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT); \
|
rsync -aq $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT); \
|
||||||
fi
|
fi
|
||||||
@if [ "X$(TEST_PROGS)" != "X" ]; then \
|
@if [ "X$(TEST_PROGS)" != "X" ]; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user