提交 18ddcc1b 编写于 作者: Y Yiqiao Pu 提交者: Lucas Meneghel Rodrigues

tests: update platform from 64 to x86_64 in ntttcp.py

Signed-off-by: NYiqiao Pu <ypu@redhat.com>
上级 1006b91c
......@@ -17,7 +17,7 @@
- guest_host:
# external Windows system IP, NTttcp need to be installed firstly.
receiver_address = "192.168.1.1"
32:
i386:
ntttcp_install_cmd = 'cmd /c "D:\autoit3.exe D:\NTttcp\NTttcp.au3 && mkdir C:\NTttcp && copy "C:\Program Files\Microsoft Corporation\NT Testing TCP Tool\*" C:\NTttcp && cd C:\NTttcp\ && copy NTttcp_%s.exe NTttcps.exe && copy NTttcp_%s.exe NTttcpr.exe"'
64:
x86_64:
ntttcp_install_cmd = 'cmd /c "D:\autoit3.exe D:\NTttcp\NTttcp.au3 && mkdir C:\NTttcp && copy "C:\Program Files (x86)\Microsoft Corporation\NT Testing TCP Tool\*" C:\NTttcp && cd C:\NTttcp\ && copy NTttcp_%s.exe NTttcps.exe && copy NTttcp_%s.exe NTttcpr.exe"'
......@@ -24,7 +24,7 @@ def run_ntttcp(test, params, env):
results_path = os.path.join(test.resultsdir,
'raw_output_%s' % test.iteration)
platform = "x86"
if params.get("platform") == "64":
if params.get("platform") == "x86_64":
platform = "x64"
buffers = params.get("buffers").split()
buf_num = params.get("buf_num", 200000)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册