Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
45b4cc77
Commit
45b4cc77
authored
Apr 15, 2014
by
Damien George
Browse files
travis: Debugging failing tests.
parent
9e2890bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
45b4cc77
...
...
@@ -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
tests/basics/memoryerror.py
View file @
45b4cc77
l
=
list
(
range
(
10000
))
hex
(
1
)
try
:
100000000
*
l
except
MemoryError
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment