selftests: fix condition in run_tests
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Wed, 27 May 2020 07:16:58 +0000 (10:16 +0300)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 7 Jul 2020 20:11:31 +0000 (14:11 -0600)
commitc9f75047eb9b38b2461819398e8a30a172ca3d46
treea9d2fe074f2067e68c4e1e2692bcab13b5a80b11
parent99aacebecb75c61e6a6a1bc29f5d87c9453f3b73
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>
tools/testing/selftests/lib.mk