tests: Reset device state at the end of full test run

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-03-09 16:32:09 +02:00
parent 4ea8d3b5cf
commit 9e7308be40

View file

@ -70,6 +70,10 @@ def main():
for d in dev: for d in dev:
d.request("NOTE TEST-STOP " + t.__name__) d.request("NOTE TEST-STOP " + t.__name__)
if not test_filter:
for d in dev:
d.reset()
print "passed tests: " + str(passed) print "passed tests: " + str(passed)
print "failed tests: " + str(failed) print "failed tests: " + str(failed)
if len(failed): if len(failed):