Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
circuitpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
circuitpython
Commits
cb68a574
Commit
cb68a574
authored
Mar 16, 2021
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/run-tests.py: Provide more info if script run via pyboard crashes.
Signed-off-by:
Damien George
<
damien@micropython.org
>
parent
a79d97cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/run-tests.py
tests/run-tests.py
+1
-1
No files found.
tests/run-tests.py
View file @
cb68a574
...
...
@@ -187,7 +187,7 @@ def run_micropython(pyb, args, test_file, is_special=False):
if
not
is_special
and
e
.
args
[
0
]
==
"exception"
:
output_mupy
=
e
.
args
[
1
]
+
e
.
args
[
2
]
+
b"CRASH"
else
:
output_mupy
=
b
"
CRASH"
output_mupy
=
b
ytes
(
e
.
args
[
0
],
"ascii"
)
+
b"
\n
CRASH"
# canonical form for all ports/platforms is to use \n for end-of-line
output_mupy
=
output_mupy
.
replace
(
b"
\r\n
"
,
b"
\n
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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