Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753667AbbHDPqk (ORCPT ); Tue, 4 Aug 2015 11:46:40 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34073 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753589AbbHDPqi (ORCPT ); Tue, 4 Aug 2015 11:46:38 -0400 Subject: Re: [PATCH V2 net-next 4/6] test_bpf: add module parameters to filter the tests to run. To: Nicolas Schichan , Daniel Borkmann , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1438694352-17469-1-git-send-email-nschichan@freebox.fr> <1438694352-17469-5-git-send-email-nschichan@freebox.fr> From: Alexei Starovoitov Message-ID: <55C0DE5D.3040904@plumgrid.com> Date: Tue, 4 Aug 2015 08:46:37 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1438694352-17469-5-git-send-email-nschichan@freebox.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1232 Lines: 30 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=: only the specified named test will be run. > > * test_id=: 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=,: 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 > Acked-by: Daniel Borkmann looks good. thank you for adding range feature :) Acked-by: Alexei Starovoitov -- 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/