Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
81825c8d
Commit
81825c8d
authored
Jul 31, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More test diagnostics if pyston crashes early
parent
988e16e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
tools/tester.py
tools/tester.py
+11
-0
No files found.
tools/tester.py
View file @
81825c8d
...
...
@@ -255,6 +255,17 @@ def determine_test_result(fn, opts, code, out, stderr, elapsed):
have_stats
=
(
stderr
.
count
(
"Stats:"
)
==
1
and
stderr
.
count
(
"(End of stats)"
)
==
1
)
if
code
>=
0
:
if
not
have_stats
:
color
=
31
msg
=
"no stats available"
if
KEEP_GOING
:
failed
.
append
(
fn
)
if
VERBOSE
>=
1
:
return
"
\
033
[%dmFAILED
\
033
[0m (%s)
\
n
%s"
%
(
color
,
msg
,
stderr
)
else
:
return
"
\
033
[%dmFAILED
\
033
[0m (%s)"
%
(
color
,
msg
)
else
:
raise
Exception
(
"%s
\
n
%s"
%
(
msg
,
stderr
))
assert
have_stats
if
have_stats
:
...
...
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