travis: Debugging failing tests.
This commit is contained in:
parent
9e2890bb00
commit
45b4cc77dd
|
@ -16,4 +16,7 @@ script:
|
|||
- make -C stmhal
|
||||
- cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
|
||||
|
||||
after_failure: cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done
|
||||
after_failure:
|
||||
- cat tests/memoryerror.py.exp
|
||||
- cat tests/memoryerror.py.out
|
||||
- cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
l = list(range(10000))
|
||||
hex(1)
|
||||
try:
|
||||
100000000 * l
|
||||
except MemoryError:
|
||||
|
|
Loading…
Reference in New Issue