mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/periph_gpio: increase timeout for automatic test
periph_gpio requires more time to complete on slow platforms, like AVR
This commit is contained in:
parent
cab3cc473e
commit
bd39ce3179
@ -10,6 +10,10 @@ import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
# On slow platforms, like AVR, this test can take some time to complete.
|
||||
TIMEOUT = 30
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect_exact("GPIO peripheral driver test")
|
||||
child.expect_exact(">")
|
||||
@ -33,4 +37,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run(testfunc, timeout=10))
|
||||
sys.exit(run(testfunc, timeout=TIMEOUT))
|
||||
|
Loading…
Reference in New Issue
Block a user