summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kselftest_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/kselftest_deps.sh')
-rwxr-xr-xtools/testing/selftests/kselftest_deps.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kselftest_deps.sh b/tools/testing/selftests/kselftest_deps.sh
index de59cc8f03..487e49fdf2 100755
--- a/tools/testing/selftests/kselftest_deps.sh
+++ b/tools/testing/selftests/kselftest_deps.sh
@@ -244,6 +244,7 @@ l4_test()
l5_test()
{
tests=$(find $(dirname "$test") -type f -name "*.mk")
+ [[ -z "${tests// }" ]] && return
test_libs=$(grep "^IOURING_EXTRA_LIBS +\?=" $tests | \
cut -d "=" -f 2)