app/test: display command line when starting
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 15 Mar 2016 12:25:22 +0000 (13:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 24 Mar 2016 20:12:45 +0000 (21:12 +0100)
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

index eadfb7f..291a821 100644 (file)
@@ -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)