On Mon, Jun 29, 2020 at 9:01 AM Jesper Dangaard Brouer <brouer@xxxxxxxxxx> wrote: > > It can be practial to get the number of tests that test_progs > contain. This could for example be used to create a shell > for-loop construct that runs the individual tests. > > Like: > for N in $(seq 1 $(./test_progs -c)); do > ./test_progs -n $N 2>&1 > result_test_${N}.log & > done ; wait > > Signed-off-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/testing/selftests/bpf/test_progs.c | 11 +++++++++++ > tools/testing/selftests/bpf/test_progs.h | 1 + > 2 files changed, 12 insertions(+) > [...]