kselftest: bonding: dev_addr_lists.sh doesn't run due to lack of dependencies

From
Jonathan Toppins <hidden>
Date
2022-10-12 14:17:44
Also in
linux-kselftest
When kselftest for bonding is built like:
$ make TARGETS="drivers/net/bonding" -j8 -C tools/testing/selftests gen_tar

and then run on the target:
$ ./run_kselftest.sh
[...]
# selftests: drivers/net/bonding: dev_addr_lists.sh
# ./dev_addr_lists.sh: line 17: ./../../../net/forwarding/lib.sh: No such file or directory
# ./dev_addr_lists.sh: line 107: tests_run: command not found
# ./dev_addr_lists.sh: line 109: exit: : numeric argument required
# ./dev_addr_lists.sh: line 34: pre_cleanup: command not found
not ok 4 selftests: drivers/net/bonding: dev_addr_lists.sh # exit=2
[...]

I am still new to kselftests is this expected or is there some way in the make machinery to force packaging of net as well?

Thanks,
-Jon
Thread (3 messages) 3 messages, 2 authors, last reply 2022-10-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help