Browse Source

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

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 12 years ago
parent
commit
9e7308be40
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/hwsim/run-p2p-tests.py

+ 4 - 0
tests/hwsim/run-p2p-tests.py

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