[dpdk-dev] [PATCH] autotests: display command line when starting

Olivier Matz olivier.matz at 6wind.com
Tue Mar 15 13:25:22 CET 2016


It's useful for debug purposes to see the command line used by
autotest.py.

Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
---
 app/test/autotest_runner.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test/autotest_runner.py b/app/test/autotest_runner.py
index eadfb7f..291a821 100644
--- a/app/test/autotest_runner.py
+++ b/app/test/autotest_runner.py
@@ -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)
 
-- 
2.1.4



More information about the dev mailing list