test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jianbo Liu <jianbo.liu@linaro.org>
To: dts@dpdk.org
Cc: Jianbo Liu <jianbo.liu@linaro.org>
Subject: [dts] [PATCH v2 3/3] framework project_dpdk: fix dpdk recompile error
Date: Mon, 21 Nov 2016 15:42:40 +0800	[thread overview]
Message-ID: <1479714160-4803-3-git-send-email-jianbo.liu@linaro.org> (raw)
In-Reply-To: <1479714160-4803-1-git-send-email-jianbo.liu@linaro.org>

Remove temporay files in the app/test to make recompile successfully.

Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
---
 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

  parent reply	other threads:[~2016-11-21  7:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  6:20 [dts] [PATCH 1/3] tests unit_test_*: use the coremask according to DUT's core number Jianbo Liu
2016-11-18  6:20 ` [dts] [PATCH 2/3] tests unit_tests_mempool: prolong mempool_perf waiting time Jianbo Liu
2016-11-18  6:20 ` [dts] [PATCH 3/3] framework project_dpdk: fix dpdk recompile error Jianbo Liu
2016-11-18  6:34 ` [dts] [PATCH 1/3] tests unit_test_*: use the coremask according to DUT's core number Xu, HuilongX
2016-11-18  7:35   ` Jianbo Liu
2016-11-21  7:42 ` [dts] [PATCH v2 1/3] tests unit_test_*: specify the coremask to use fewer DUT's cores Jianbo Liu
2016-11-21  7:42   ` [dts] [PATCH v2 2/3] tests unit_tests_mempool: prolong mempool_perf waiting time Jianbo Liu
2016-11-21  7:42   ` Jianbo Liu [this message]
2016-11-23  2:37   ` [dts] [PATCH v2 1/3] tests unit_test_*: specify the coremask to use fewer DUT's cores Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479714160-4803-3-git-send-email-jianbo.liu@linaro.org \
    --to=jianbo.liu@linaro.org \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).