tests/stress/qstr_limit: Tune params to run with stm32 port.
Because MICROPY_ALLOC_PATH_MAX is only 128 for this port.
This commit is contained in:
parent
71c6bfd08a
commit
33b0a7e601
|
@ -64,19 +64,17 @@ for l in range(254, 259):
|
||||||
print('RuntimeError', l)
|
print('RuntimeError', l)
|
||||||
|
|
||||||
# import module
|
# import module
|
||||||
# (different OS's have different results so only print those that are consistent)
|
# (different OS's have different results so only run those that are consistent)
|
||||||
for l in range(150, 259):
|
for l in (100, 101, 256, 257, 258):
|
||||||
try:
|
try:
|
||||||
__import__(make_id(l))
|
__import__(make_id(l))
|
||||||
except ImportError:
|
except ImportError:
|
||||||
if l < 152:
|
|
||||||
print('ok', l)
|
print('ok', l)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
if l > 255:
|
|
||||||
print('RuntimeError', l)
|
print('RuntimeError', l)
|
||||||
|
|
||||||
# import package
|
# import package
|
||||||
for l in range(125, 130):
|
for l in (100, 101, 102, 128, 129):
|
||||||
try:
|
try:
|
||||||
exec('import ' + make_id(l) + '.' + make_id(l, 'A'))
|
exec('import ' + make_id(l) + '.' + make_id(l, 'A'))
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
@ -31,13 +31,13 @@ RuntimeError 258
|
||||||
RuntimeError 256
|
RuntimeError 256
|
||||||
RuntimeError 257
|
RuntimeError 257
|
||||||
RuntimeError 258
|
RuntimeError 258
|
||||||
ok 150
|
ok 100
|
||||||
ok 151
|
ok 101
|
||||||
RuntimeError 256
|
RuntimeError 256
|
||||||
RuntimeError 257
|
RuntimeError 257
|
||||||
RuntimeError 258
|
RuntimeError 258
|
||||||
ok 125
|
ok 100
|
||||||
ok 126
|
ok 101
|
||||||
ok 127
|
ok 102
|
||||||
RuntimeError 128
|
RuntimeError 128
|
||||||
RuntimeError 129
|
RuntimeError 129
|
||||||
|
|
Loading…
Reference in New Issue