diff options
author | Lu Dai <dai.lu@exordes.com> | 2024-05-04 18:01:06 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-08 16:46:41 -0600 |
commit | 17909476d631979927109187cc7e89e4577ff5be (patch) | |
tree | 8312800f9e6f924319b86a1c1ef083b4a43dda3b /scripts/generate_rust_analyzer.py | |
parent | d4e6fbd245c48b272cc591d1c5e7c07aedd7f071 (diff) |
selftests: kselftest_deps: fix l5_test() empty variable
In the function l5_test(), variable $tests is empty when there is no .mk
file in the subsystem to be tested. It causes the following grep operation
get stuck.
This fix check the variable $tests, return when it is empty.
Signed-off-by: Lu Dai <dai.lu@exordes.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions