[PATCH v2] hwsim tests: allow run-tests.py to start tracing

Johannes Berg johannes at sipsolutions.net
Wed Oct 30 18:09:39 EDT 2013


On Wed, 2013-10-30 at 22:08 +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg at intel.com>
> 
> In order to get tracing per test, allow run-tests.py to start
> and stop tracing per test case. This is implemented using a
> python 'with' context so it starts/stops automatically at the
> right spots.
> 
> Instead of starting global tracing, also use it from run-all.sh
> and put the trace files into the log dir.
> 
> Note that this only works right if you use a separate log dir
> for all test runs as the trace files aren't timestamped.
> 
> Signed-off-by: Johannes Berg <johannes.berg at intel.com>

Same here ... argh.

Signed-hostap: Johannes Berg <johannes.berg at intel.com>

johannes



More information about the HostAP mailing list