From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D807DA0350; Fri, 22 May 2020 15:24:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52D9C1D98F; Fri, 22 May 2020 15:24:22 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1B3D81D960 for ; Fri, 22 May 2020 15:24:18 +0200 (CEST) IronPort-SDR: hT5o7fUPNkGeh/Re+eWAAbwsBbcB/Lz+o+HbSVQ8YCbpGfYhaOEHLZakpJyWrwJK6CuujNaulA Oae16UfWXt9w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2020 06:24:18 -0700 IronPort-SDR: Y3WjqYGM72qjdhSyucwrUJafdOrVUFTt19Ce2rHrKKrxHFTohVyjzxsTHC8yMPp6RX0pCpLkGt 9IVaIUCEGcQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,421,1583222400"; d="scan'208";a="283397998" Received: from silpixa00389033.ir.intel.com (HELO silpixa00389033.ger.corp.intel.com) ([10.237.223.171]) by orsmga002.jf.intel.com with ESMTP; 22 May 2020 06:24:17 -0700 From: Louise Kilheeney To: dev@dpdk.org Cc: Louise Kilheeney , Nicolas Chautru Date: Fri, 22 May 2020 14:23:12 +0100 Message-Id: <20200522132320.26373-2-louise.kilheeney@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200522132320.26373-1-louise.kilheeney@intel.com> References: <20200522132320.26373-1-louise.kilheeney@intel.com> Subject: [dpdk-dev] [PATCH 20.08 1/9] app/test-bbdev: support python3 only 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Changed script to explicitly use python3 only. Cc: Nicolas Chautru Signed-off-by: Louise Kilheeney --- app/test-bbdev/test-bbdev.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py index 0194be046..50add4580 100755 --- a/app/test-bbdev/test-bbdev.py +++ b/app/test-bbdev/test-bbdev.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python - +#!/usr/bin/env python3 # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation @@ -12,7 +11,7 @@ from threading import Timer def kill(process): - print "ERROR: Test app timed out" + print ("ERROR: Test app timed out") process.kill() if "RTE_SDK" in os.environ: @@ -66,7 +65,7 @@ def kill(process): args = parser.parse_args() if not os.path.exists(args.testapp_path): - print "No such file: " + args.testapp_path + print ("No such file: " + args.testapp_path) sys.exit(1) params = [args.testapp_path] -- 2.17.1