From e8ecca21ff370b9fe3d32ba7f6d1b6110c58b7a8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 15 Apr 2014 11:56:57 +0100 Subject: [PATCH] travis: More tests output debugging. --- .travis.yml | 4 +++- tests/basics/memoryerror.py | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4411aae9ea..8220a3e01b 100644 --- a/.travis.yml +++ b/.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 diff --git a/tests/basics/memoryerror.py b/tests/basics/memoryerror.py index 1c93ec63ca..b4be420c31 100644 --- a/tests/basics/memoryerror.py +++ b/tests/basics/memoryerror.py @@ -1,8 +1,4 @@ l = list(range(10000)) -try: - hex(1) -except NameError: - print("NameError") try: 100000000 * l except MemoryError: