mirror of
https://github.com/antonblanchard/chiselwatt.git
synced 2026-01-11 23:53:33 +00:00
Reduce duration of test_micropython_long.py
This is taking quite a while to execute, reduce it a bit. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
parent
bb295a6406
commit
904d4b8695
@ -29,7 +29,7 @@ exp.expect('>>>')
|
||||
|
||||
p.stdin.write(b'n2=0\r\n')
|
||||
p.stdin.write(b'n1=1\r\n')
|
||||
p.stdin.write(b'for i in range(30):\r\n')
|
||||
p.stdin.write(b'for i in range(25):\r\n')
|
||||
p.stdin.write(b' n0 = n1 + n2\r\n')
|
||||
p.stdin.write(b' print(n0)\r\n')
|
||||
p.stdin.write(b' n2 = n1\r\n')
|
||||
@ -40,7 +40,7 @@ p.stdin.flush()
|
||||
exp.expect('n1 = n0', timeout=60)
|
||||
n2 = 0
|
||||
n1 = 1
|
||||
for i in range(30):
|
||||
for i in range(25):
|
||||
n0 = n1 + n2
|
||||
exp.expect("%s" % n0, timeout=60)
|
||||
n2 = n1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user