[v2] Enhancing kselftest to support BPF selftests#2942
[v2] Enhancing kselftest to support BPF selftests#2942Naresh-ibm merged 2 commits intoavocado-framework-tests:masterfrom
Conversation
|
O/P: [root@ltcfuji8v4-lp17 ~]# avocado run --max-parallel-tasks=1 kselftest.py -m avocado-fvt-wrapper/tests/avocado-misc-tests/kernel/kselftest.py.data/bpf.yaml |
|
I have removed this tests |
Added a check for comp == bpf, to point to bpf source code under selftests. Also made changes on how builddir is constructed, based location input. Added a check comp == bpf before compiling. bpf complie is handeled under bpf() in a seperate commit. Signed-off-by: vrbagalkot <venkat.rao.bagalkote@ibm.com>
Compiling bpf requires to use the same source code, from which the kernel has booted. So made the necessary changes to sourcedir to, point to the corresponding source code. Also created appropriate yaml file. Signed-off-by: vrbagalkot <venkat.rao.bagalkote@ibm.com>
Incorporated review comments