projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c43a98
)
tests: Continue even if device reset fails
author
Jouni Malinen
<j@w1.fi>
Sat, 24 Aug 2013 18:16:04 +0000
(21:16 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 24 Aug 2013 18:16:04 +0000
(21:16 +0300)
This may provide better testing coverage by allowing temporary issues
during the test cycle to be ignored.
Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/run-tests.py
patch
|
blob
|
history
diff --git
a/tests/hwsim/run-tests.py
b/tests/hwsim/run-tests.py
index
bf08a55
..
51cad6d
100755
(executable)
--- a/
tests/hwsim/run-tests.py
+++ b/
tests/hwsim/run-tests.py
@@
-20,7
+20,10
@@
from hostapd import HostapdGlobal
def reset_devs(dev, apdev):
hapd = HostapdGlobal()
for d in dev:
- d.reset()
+ try:
+ d.reset()
+ except Exception, e:
+ logger.info("Failed to reset device " + d.ifname)
for ap in apdev:
hapd.remove(ap['ifname'])