Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1200109
| From | Alexei Starovoitov <ast@plumgrid.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. |
| Date | 2015-08-04 17:50 +0200 |
| Message-ID | <pTMDv-6sx-21@gated-at.bofh.it> (permalink) |
| References | <pTKs1-3mh-5@gated-at.bofh.it> <pTKs1-3mh-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 8/4/15 6:19 AM, Nicolas Schichan wrote: > When developping on the interpreter or a particular JIT, it can be > interesting to restrict the tests list to a specific test or a > particular range of tests. > > This patch adds the following module parameters to the test_bpf module: > > * test_name=<string>: only the specified named test will be run. > > * test_id=<number>: only the test with the specified id will be run > (see the output of test_bpf without parameters to get the test id). > > * test_range=<number>,<number>: only the tests within IDs in the > specified id range are run (see the output of test_bpf without > parameters to get the test ids). > > Any invalid range, test id or test name will result in -EINVAL being > returned and no tests being run. > > Signed-off-by: Nicolas Schichan<nschichan@freebox.fr> > Acked-by: Daniel Borkmann<daniel@iogearbox.net> looks good. thank you for adding range feature :) Acked-by: Alexei Starovoitov <ast@plumgrid.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2 net-next 0/6] test_bpf improvements Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 2/6] test_bpf: allow tests to specify an skb fragment. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
Re: [PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. Alexei Starovoitov <ast@plumgrid.com> - 2015-08-04 17:50 +0200
[PATCH V2 net-next 6/6] test_bpf: add tests checking that JIT/interpreter sets A and X to 0. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
[PATCH V2 net-next 5/6] test_bpf: add more tests for LD_ABS and LD_IND. Nicolas Schichan <nschichan@freebox.fr> - 2015-08-04 15:30 +0200
Re: [PATCH V2 net-next 0/6] test_bpf improvements David Miller <davem@davemloft.net> - 2015-08-07 07:10 +0200
csiph-web