From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 87C4A30E for ; Mon, 30 Jun 2014 16:42:42 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 30 Jun 2014 07:43:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,575,1400050800"; d="scan'208";a="451636905" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by azsmga001.ch.intel.com with ESMTP; 30 Jun 2014 07:42:58 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s5UEgwmv032630; Mon, 30 Jun 2014 15:42:58 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s5UEgwI2024619; Mon, 30 Jun 2014 15:42:58 +0100 Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id s5UEgwAv024615; Mon, 30 Jun 2014 15:42:58 +0100 From: Pablo de Lara To: dev@dpdk.org Date: Mon, 30 Jun 2014 15:42:57 +0100 Message-Id: <1404139377-24580-1-git-send-email-pablox.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] app/test: Removed vdev test in EAL flags unit test 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: Mon, 30 Jun 2014 14:42:43 -0000 From: Pablo de Lara In whitelist test, within EAL flags unit test, vdev flag was being tested, but test fails, as a secondary process cannot allocate memzones, so it cannot create the device and application exits. Also, this can be tested in ring pmd test, which needs vdev and not in whitelist, which should only test --pci-whitelist. Patch "app/test: fix build switches to enable cmdline tests" from Thomas Monjalon is needed for this patch. Signed-off-by: Pablo de Lara --- app/test/test_eal_flags.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index 1b80b80..7c6656b 100644 --- a/app/test/test_eal_flags.c +++ b/app/test/test_eal_flags.c @@ -58,7 +58,6 @@ #define no_huge "--no-huge" #define no_shconf "--no-shconf" #define pci_whitelist "--pci-whitelist" -#define vdev "--vdev" #define memtest "memtest" #define memtest1 "memtest1" #define memtest2 "memtest2" @@ -317,9 +316,6 @@ 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 RTE_LIBRTE_PMD_RING - vdev, "eth_ring,arg=test", -#endif }; for (i = 0; i < sizeof(wlinval) / sizeof(wlinval[0]); i++) { -- 1.7.0.7