summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuilong xu <huilongx.xu@intel.com>2015-07-17 16:07:54 +0800
committerMarvin Liu <yong.liu@intel.com>2015-07-17 16:37:18 +0800
commiteb59ca3baeaa82e7da574582609efa0add32896d (patch)
treec86288b90317cae4508fcc48e2132c566a3e97f9
parentfe541852030331bb32295b3674b9dc9e6ba6f86f (diff)
downloaddts-eb59ca3baeaa82e7da574582609efa0add32896d.zip
dts-eb59ca3baeaa82e7da574582609efa0add32896d.tar.gz
dts-eb59ca3baeaa82e7da574582609efa0add32896d.tar.xz
add debug info for queue start stop case
Signed-off-by: huilong xu <huilongx.xu@intel.com>
-rw-r--r--tests/TestSuite_queue_start_stop.py7
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