From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jananee Parthasarathy Subject: [PATCH v4 3/4] app/test: enhance freebsd support in autotest config Date: Wed, 23 May 2018 12:41:37 +0100 Message-ID: <1527075698-11308-4-git-send-email-jananeex.m.parthasarathy@intel.com> References: <1526399929-24299-1-git-send-email-jananeex.m.parthasarathy@intel.com> <1527075698-11308-1-git-send-email-jananeex.m.parthasarathy@intel.com> Cc: reshma.pattan@intel.com, Jananee Parthasarathy To: dev@dpdk.org, anatoly.burakov@intel.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 7CCD52BFA for ; Wed, 23 May 2018 13:41:46 +0200 (CEST) In-Reply-To: <1527075698-11308-1-git-send-email-jananeex.m.parthasarathy@intel.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" Update test command line with no additional arguments, as FreeBSD doesn't support socket-mem, file-prefix options Signed-off-by: Jananee Parthasarathy Reviewed-by: Reshma Pattan Reviewed-by: Anatoly Burakov --- 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