travis: Debugging failing tests.

pull/496/head
Damien George 2014-04-15 11:25:36 +01:00
rodzic 9e2890bb00
commit 45b4cc77dd
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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