[dts] add debug info for queue start stop case
huilong,xu
huilongx.xu at intel.com
Fri Jul 17 10:07:54 CEST 2015
From: huilong xu <huilongx.xu at intel.com>
Signed-off-by: huilong xu <huilongx.xu at intel.com>
---
tests/TestSuite_queue_start_stop.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py
index d62cc8c..da55247 100644
--- a/tests/TestSuite_queue_start_stop.py
+++ b/tests/TestSuite_queue_start_stop.py
@@ -70,7 +70,12 @@ class TestQueueStartStop(TestCase):
"""
Run before each test case.
"""
- patch_file = FOLDERS["Depends"] + r'/macfwd_log.patch'
+ try:
+ patch_file = FOLDERS["Depends"] + r'/macfwd_log.patch'
+ except:
+ self.logger.warningstr(FOLDERS))
+ patch_file = r'dep/macfwd_log.patch'
+ FOLDERS["Depends"] = 'dep'
patch_dst = "/tmp/"
# dpdk patch and build
--
1.7.4.4
More information about the dts
mailing list