travis: Debugging failing tests.

This commit is contained in:
Damien George 2014-04-15 11:25:36 +01:00
parent 9e2890bb00
commit 45b4cc77dd
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
l = list(range(10000))
hex(1)
try:
100000000 * l
except MemoryError: