From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 2/9] test: add basic bus infrastructure tests Date: Wed, 18 Jan 2017 00:23:58 +0100 Message-ID: <9781193.ROD7azHmSd@xps13> References: <1484647774-28984-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-3-git-send-email-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id ABE9611DE for ; Wed, 18 Jan 2017 00:23:59 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id c85so221992543wmi.1 for ; Tue, 17 Jan 2017 15:23:59 -0800 (PST) In-Reply-To: <1484660264-6531-3-git-send-email-shreyansh.jain@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-17 19:07, Shreyansh Jain: > +REGISTER_TEST_COMMAND(bus_autotest, test_bus); You should add it to app/test/autotest_data.py > +/* Bus list exposed */ > +extern struct rte_bus_list rte_bus_list; I think it should be possible to write a test without the real list of registered bus.