tests: Reset device state at the end of full test run
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
4ea8d3b5cf
commit
9e7308be40
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue