From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by dpdk.org (Postfix) with ESMTP id 99CBA5922 for ; Fri, 27 Jun 2014 11:46:56 +0200 (CEST) Received: by mail-we0-f179.google.com with SMTP id w62so4807346wes.24 for ; Fri, 27 Jun 2014 02:47:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=m+Rh2yf93GzlPQtLFWqt39E7G1HrrGIG8np++o+1yPo=; b=izLQUGGm6VVT5J1SX/qkceuSRQKszn3BV1kZRcGzRzP/vsZ48hqpLdV6d+cM7e5Tyg syHTLDmZrATldAN7A0G5wRCBbOGQOwLlJyLBrdikqQkvd0w7Jy9sOFnkNddwwygFJd2s 3mtWcOvnd51j/nwuZ2fyvTbcmN1Njt9ePewAO5BmAs3A4Av2Ff7uCREm2P1WdH7H210P wzHHaAnOtydE9e0gkFNVN97S7oTlTPiQdVzl23IO6xOKhkl/NGWFzdFu8kqEwg5hjhVA GoxIcFKhOKkRWjs70zgOIwgSLe4i6o5NA6fFhlkQgKQBR56OEmifUs6vCSx+1j0dzu8p y/Vw== X-Gm-Message-State: ALoCoQnZl2uTx0uguwOOUFu3SJ/IsoLDjDrCL4nN8TjzSu1zzRuWin1MynjeWjCZH7CxeTp9liwN X-Received: by 10.180.198.116 with SMTP id jb20mr10267449wic.59.1403862435767; Fri, 27 Jun 2014 02:47:15 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id k19sm75966700wie.20.2014.06.27.02.47.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Jun 2014 02:47:15 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 27 Jun 2014 11:46:46 +0200 Message-Id: <1403862406-31698-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.0.0 Subject: [dpdk-dev] [PATCH] app/test: fix build switches to enable cmdline tests X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 09:46:56 -0000 There were 2 typos since these commits (in 1.6.0 releases): 21a7f4e264 fix build without librte_cmdline cac6d08c8b replace --use-device option by --pci-whitelist and --vdev In makefiles, the build options are prefixed with CONFIG_RTE_ but in .c file, it is only RTE_. These typos were disabling cmdline unit tests and test of "--vdev eth_ring" option. Signed-off-by: Thomas Monjalon --- app/test/test_cmdline.c | 2 +- app/test/test_eal_flags.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c index 77475c4..10a3f77 100644 --- a/app/test/test_cmdline.c +++ b/app/test/test_cmdline.c @@ -39,7 +39,7 @@ int test_cmdline(void) { -#ifdef CONFIG_RTE_LIBRTE_CMDLINE +#ifdef RTE_LIBRTE_CMDLINE printf("Testind parsing ethernet addresses...\n"); if (test_parse_etheraddr_valid() < 0) return -1; diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index a862654..1b80b80 100644 --- a/app/test/test_eal_flags.c +++ b/app/test/test_eal_flags.c @@ -317,7 +317,7 @@ test_whitelist_flag(void) const char *wlval3[] = {prgname, prefix, mp_flag, "-n", "1", "-c", "1", pci_whitelist, "09:0B.3,type=test", pci_whitelist, "08:00.1,type=normal", -#ifdef CONFIG_RTE_LIBRTE_PMD_RING +#ifdef RTE_LIBRTE_PMD_RING vdev, "eth_ring,arg=test", #endif }; -- 2.0.0