[dpdk-dev] autotests: display command line when starting
Commit Message
It's useful for debug purposes to see the command line used by
autotest.py.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
app/test/autotest_runner.py | 1 +
1 file changed, 1 insertion(+)
Comments
2016-03-15 13:25, Olivier Matz:
> It's useful for debug purposes to see the command line used by
> autotest.py.
>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Applied, thanks
@@ -72,6 +72,7 @@ def run_test_group(cmdline, test_group):
startuplog = StringIO.StringIO()
print >>startuplog, "\n%s %s\n" % ("="*20, test_group["Prefix"])
+ print >>startuplog, "\ncmdline=%s" % cmdline
child = pexpect.spawn(cmdline, logfile=startuplog)