Re: [PATCH 4/6] test_bpf: add module parameters to filter the tests to run.

2015-08-03 Thread Daniel Borkmann
On 08/03/2015 06:23 PM, Nicolas Schichan wrote: ... Btw, for the range test in prepare_bpf_tests(), you could also reject a negative lower bound index right there. I thought it was better to have all the sanity checks grouped in prepare_bpf_tests() (with the checking of the test_name and test_i

Re: [PATCH 4/6] test_bpf: add module parameters to filter the tests to run.

2015-08-03 Thread Nicolas Schichan
On 08/03/2015 05:58 PM, Daniel Borkmann wrote: > On 08/03/2015 04:02 PM, Nicolas Schichan wrote: >> When developping on the interpreter or a particular JIT, it can be >> insteresting to restrict the test list to a specific test or a > > s/insteresting/interesting/ [...] > s/test_pbf/test_bpf/ [...

Re: [PATCH 4/6] test_bpf: add module parameters to filter the tests to run.

2015-08-03 Thread Daniel Borkmann
On 08/03/2015 04:02 PM, Nicolas Schichan wrote: When developping on the interpreter or a particular JIT, it can be insteresting to restrict the test list to a specific test or a s/insteresting/interesting/ particular range of tests. This patch adds the following module parameters to the test

[PATCH 4/6] test_bpf: add module parameters to filter the tests to run.

2015-08-03 Thread Nicolas Schichan
When developping on the interpreter or a particular JIT, it can be insteresting to restrict the test 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=: only the specified named test will be run. * test_id=