Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
79412ce5
Commit
79412ce5
authored
Nov 27, 2009
by
Arfrever Frehtes Taifersar Arahesis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When tests fail, runtests.py should exit with non-zero exit status.
parent
cf7d7053
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
runtests.py
runtests.py
+3
-1
No files found.
runtests.py
View file @
79412ce5
...
@@ -856,7 +856,7 @@ if __name__ == '__main__':
...
@@ -856,7 +856,7 @@ if __name__ == '__main__':
os
.
path
.
join
(
sys
.
prefix
,
'lib'
,
'python'
+
sys
.
version
[:
3
],
'test'
),
os
.
path
.
join
(
sys
.
prefix
,
'lib'
,
'python'
+
sys
.
version
[:
3
],
'test'
),
'pyregr'
))
'pyregr'
))
unittest
.
TextTestRunner
(
verbosity
=
options
.
verbosity
).
run
(
test_suite
)
result
=
unittest
.
TextTestRunner
(
verbosity
=
options
.
verbosity
).
run
(
test_suite
)
if
options
.
coverage
:
if
options
.
coverage
:
coverage
.
stop
()
coverage
.
stop
()
...
@@ -875,3 +875,5 @@ if __name__ == '__main__':
...
@@ -875,3 +875,5 @@ if __name__ == '__main__':
if
options
.
with_refnanny
:
if
options
.
with_refnanny
:
import
refnanny
import
refnanny
sys
.
stderr
.
write
(
"
\
n
"
.
join
([
repr
(
x
)
for
x
in
refnanny
.
reflog
]))
sys
.
stderr
.
write
(
"
\
n
"
.
join
([
repr
(
x
)
for
x
in
refnanny
.
reflog
]))
sys
.
exit
(
not
result
.
wasSuccessful
()
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