From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E7BFE1B85B for ; Tue, 15 May 2018 17:59:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2018 08:59:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,403,1520924400"; d="scan'208";a="41996720" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga006.jf.intel.com with ESMTP; 15 May 2018 08:59:05 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w4FFx4hS032109; Tue, 15 May 2018 16:59:05 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w4FFx4DS024407; Tue, 15 May 2018 16:59:04 +0100 Received: (from jmparthx@localhost) by wgcvswdev001.ir.intel.com with œ id w4FFx4w8024403; Tue, 15 May 2018 16:59:04 +0100 From: Jananee Parthasarathy To: dev@dpdk.org, anatoly.burakov@intel.com Cc: reshma.pattan@intel.com, Jananee Parthasarathy Date: Tue, 15 May 2018 16:58:49 +0100 Message-Id: <1526399929-24299-4-git-send-email-jananeex.m.parthasarathy@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com> References: <1525948573-26007-1-git-send-email-jananeex.m.parthasarathy@intel.com> <1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com> Subject: [dpdk-dev] [PATCH v3 3/3] app/test: enhance freebsd support in sanity script X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 15:59:08 -0000 Update test command line with no additional arguments, as FreeBSD doesn't support socket-mem, file-prefix options Signed-off-by: Jananee Parthasarathy --- test/test/autotest_runner.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/test/autotest_runner.py b/test/test/autotest_runner.py index a692f06..0997e78 100644 --- a/test/test/autotest_runner.py +++ b/test/test/autotest_runner.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2010-2014 Intel Corporation +# Copyright(c) 2010-2018 Intel Corporation # The main logic behind running autotests in parallel @@ -201,6 +201,12 @@ def __init__(self, cmdline, target, blacklist, whitelist): # set up cmdline string def __get_cmdline(self, test): cmdline = self.cmdline + os_name = sys.platform + + # test command line need not be modified for FreeBSD + # as socket-mem, file-prefix is not supported + if os_name.startswith('freebsd') : + return cmdline # append memory limitations for each test # otherwise tests won't run in parallel -- 1.7.12.2