git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1fc0b2
)
app/test: fix memory autotest
author
Intel
<intel.com>
Fri, 8 Nov 2013 02:00:00 +0000
(
03:00
+0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 24 Nov 2013 20:31:36 +0000
(21:31 +0100)
Memory length is printed as a decimal value since version 1.4
(commit
3b46fb77ebdb6bb6b47c578a2986077dcff68a19
).
Signed-off-by: Intel
app/test/autotest_test_funcs.py
patch
|
blob
|
history
diff --git
a/app/test/autotest_test_funcs.py
b/app/test/autotest_test_funcs.py
index
414a190
..
43c845b
100644
(file)
--- a/
app/test/autotest_test_funcs.py
+++ b/
app/test/autotest_test_funcs.py
@@
-59,7
+59,7
@@
def dump_autotest(child, test_name):
# reads output and waits for Test OK
def memory_autotest(child, test_name):
child.sendline(test_name)
- regexp = "phys:0x[0-9a-f]*, len:
0x([0-9a-f
]*), virt:0x[0-9a-f]*, socket_id:[0-9]*"
+ regexp = "phys:0x[0-9a-f]*, len:
([0-9
]*), virt:0x[0-9a-f]*, socket_id:[0-9]*"
index = child.expect([regexp, pexpect.TIMEOUT], timeout = 180)
if index != 0:
return -1, "Fail [Timeout]"