diff options
author | Jianbo Liu <jianbo.liu@linaro.org> | 2016-11-21 15:42:40 +0800 |
---|---|---|
committer | Marvin Liu <yong.liu@intel.com> | 2016-11-23 10:24:09 +0800 |
commit | 0b24c4197d94f5fdef8de0cc49fd119ff092e245 (patch) | |
tree | 774b727cedba476844a255abfef921db727f08cf | |
parent | d703f198738966ff0e5edbe333df8f76bbe91b81 (diff) |
framework project_dpdk: fix dpdk recompile error
Remove temporay files in the app/test to make recompile successfully.
Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
-rw-r--r-- | framework/project_dpdk.py | 8 |
1 files changed, 8 insertions, 0 deletions
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) |