Re: [PATCH bpf-next] selftests/bpf: test_progs option for getting number of tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/29/20 6:01 PM, Jesper Dangaard Brouer 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>

Applied, thanks!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux