tests: Reset devices based on each test
Make sure the devices are in known state before starting each test case. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7cb08cdbd6
commit
e5774e1888
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ def main():
|
|||
if test_filter:
|
||||
if test_filter not in t.__name__:
|
||||
continue
|
||||
for d in dev:
|
||||
d.reset()
|
||||
print "START " + t.__name__
|
||||
for d in dev:
|
||||
d.request("NOTE TEST-START " + t.__name__)
|
||||
|
|
Loading…
Reference in a new issue