From patchwork Fri Aug 25 15:28:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 130742 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19DCE430E2; Fri, 25 Aug 2023 09:20:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14E1543259; Fri, 25 Aug 2023 09:20:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 8DA1243251 for ; Fri, 25 Aug 2023 09:20:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692948004; x=1724484004; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+hgd0dBfjLk/piouJ3fzOZ3MamiOxy/tDAgOnmdL1Ug=; b=nscJaqBzBwxqjEm6B+bTfgPlHwEqkT7ETU0pW/R/kM9SF9lz+x5lfjwb GQwNMz94lQF2e49F7b4PyLNKpOUoV3DAh3AcKRb9bEqcbQw2e9mQUc6NF NveWmtOCZtJJ6p55b0JQFYPJb++7mJnbJArJ4ifaAjh0YomuzkdxtZXmm bYJ28WdqbRu1Zsd5FlwuT3MwYx2laXvuacpJ8yCmyDr5R0PvcbFauukMf 7Q3ZngFoIsGmn0TVh7tMpIvZPCMEldGS2cMT2hVgcZI41xbIyZzWOHdFM 0jOvRWG91/3Xuj0nLfXqn4up/Ig1tRU0CFRIoZVSksnRuDZMoHGOCjPaz A==; X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="405654500" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="405654500" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 00:20:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="802869684" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="802869684" Received: from unknown (HELO localhost.localdomain) ([10.239.252.96]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 00:20:03 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V2 9/9] framework/tester: optimize scripts Date: Fri, 25 Aug 2023 15:28:25 +0000 Message-Id: <20230825152825.2831565-10-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230825152825.2831565-1-songx.jiale@intel.com> References: <20230825152825.2831565-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org to ensure the normal state of the tester interface link, the interface recovery step should not be skipped when starting DTS using the "--skip setup" parameter. Signed-off-by: Jiale Song --- framework/tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tester.py b/framework/tester.py index 5e6c72ad..051a2236 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -309,7 +309,7 @@ class Tester(Crb): """ Restore Linux interfaces. """ - if self.skip_setup: + if self.read_cache: return if not self.is_container: