Browse Source

travis: More tests output debugging.

pull/496/head
Damien George 11 years ago
parent
commit
e8ecca21ff
  1. 4
      .travis.yml
  2. 4
      tests/basics/memoryerror.py

4
.travis.yml

@ -17,6 +17,8 @@ script:
- cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
after_failure:
- pwd
- echo 'test'
- cat tests/memoryerror.py.exp
- cat tests/memoryerror.py.out
- (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

4
tests/basics/memoryerror.py

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

Loading…
Cancel
Save