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

Message ID 1458044722-32652-1-git-send-email-olivier.matz@6wind.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Olivier Matz March 15, 2016, 12:25 p.m. UTC
  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

Thomas Monjalon March 24, 2016, 8:14 p.m. UTC | #1
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
  

Patch

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)