From: Jouni Malinen Date: Sat, 9 Mar 2013 14:32:09 +0000 (+0200) Subject: tests: Reset device state at the end of full test run X-Git-Tag: aosp-kk-from-upstream~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7308be4004d46df59c929b36a4dfbaff011153;p=thirdparty%2Fhostap.git tests: Reset device state at the end of full test run Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/run-p2p-tests.py b/tests/hwsim/run-p2p-tests.py index 4c252454e..4f97b69ec 100755 --- a/tests/hwsim/run-p2p-tests.py +++ b/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):