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 47F89A04AA; Tue, 8 Sep 2020 09:29:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 40E351C0D0; Tue, 8 Sep 2020 09:29:58 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2AF202BAB for ; Tue, 8 Sep 2020 09:29:56 +0200 (CEST) IronPort-SDR: a2A3jIomiQnLSEqFRmA9pz0qOVm/p6RsHLpH/hSRQIN4GR5AXrBylQSwbZIcdZy390Vkv1SIAy NscZgAKMglhg== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="219646616" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="219646616" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2020 00:29:55 -0700 IronPort-SDR: p4iuan6yQT7D9OUZPhchdC52/q8q/eGDBmlErwiew9BoBQsd4BdljGuj5k9QV2WNzmWeJWlyxj a7xpcFnq8YdQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="377432758" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:54 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: Zhou jun Date: Tue, 8 Sep 2020 07:18:11 +0000 Message-Id: <20200908071825.118583-25-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200908071825.118583-1-junx.w.zhou@intel.com> References: <20200908071825.118583-1-junx.w.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [dts 24/38] tests/TestSuite_timer.py: adapt to support both meson and makefile build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: Zhou jun Signed-off-by: Zhou jun --- tests/TestSuite_timer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py index 4d0434e..0be8029 100644 --- a/tests/TestSuite_timer.py +++ b/tests/TestSuite_timer.py @@ -52,7 +52,7 @@ class TestTimer(TestCase): timer prerequisites """ out = self.dut.build_dpdk_apps('examples/timer') - + self.app_timer_path = self.dut.apps_name['timer'] self.verify("Error" not in out, "compilation error 1") self.verify("No such file" not in out, "compilation error 2") @@ -72,7 +72,7 @@ class TestTimer(TestCase): coreMask = utils.create_mask(cores) # run timer on the background - cmdline = "./examples/timer/build/timer -n 1 -c " + coreMask + " &" + cmdline = "./%s -n 1 -c " % self.app_timer_path + coreMask + " &" self.dut.send_expect(cmdline, "# ", 1) time.sleep(15) -- 1.8.3.1