From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 199FD2BAC for ; Mon, 21 Nov 2016 08:42:49 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7F6AC1596; Sun, 20 Nov 2016 23:42:48 -0800 (PST) Received: from ubuntu-jianbo.shanghai.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 159933F24D; Sun, 20 Nov 2016 23:42:47 -0800 (PST) From: Jianbo Liu To: dts@dpdk.org Cc: Jianbo Liu Date: Mon, 21 Nov 2016 15:42:40 +0800 Message-Id: <1479714160-4803-3-git-send-email-jianbo.liu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479714160-4803-1-git-send-email-jianbo.liu@linaro.org> References: <1479450059-17753-1-git-send-email-jianbo.liu@linaro.org> <1479714160-4803-1-git-send-email-jianbo.liu@linaro.org> Subject: [dts] [PATCH v2 3/3] framework project_dpdk: fix dpdk recompile error 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: , X-List-Received-Date: Mon, 21 Nov 2016 07:42:49 -0000 Remove temporay files in the app/test to make recompile successfully. Signed-off-by: Jianbo Liu --- framework/project_dpdk.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index 0b6ef2d..067590b 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -174,6 +174,8 @@ class DPDKdut(Dut): # clean all self.send_expect("rm -rf " + target, "#") self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") # compile out = self.send_expect("make -j install T=%s %s" % (target, extra_options), "# ", build_time) @@ -193,6 +195,8 @@ class DPDKdut(Dut): # clean all self.send_expect("rm -rf " + target, "#") self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") # compile out = self.send_expect("make -j %d install T=%s CC=gcc48" % (self.number_of_cores, @@ -322,6 +326,8 @@ class DPDKdut(Dut): else: timeout = 90 self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") return self.send_expect("make -j -C %s %s" % (folder, extra_options), "# ", timeout) @@ -330,6 +336,8 @@ class DPDKdut(Dut): Build dpdk sample applications on Freebsd. """ self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.res.o' , "#") + self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") return self.send_expect("make -j -C %s %s CC=gcc48" % (folder, extra_options), "# ", 180) -- 1.9.1