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
fc3249dc
Commit
fc3249dc
authored
May 25, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
require options '-v' or '-vv' for status output in test runner
parent
ab6a352b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
runtests.py
runtests.py
+13
-1
No files found.
runtests.py
View file @
fc3249dc
...
...
@@ -282,6 +282,18 @@ if __name__ == '__main__':
else
:
annotate_source
=
True
try
:
sys
.
argv
.
remove
(
"-vv"
)
except
ValueError
:
try
:
sys
.
argv
.
remove
(
"-v"
)
except
ValueError
:
verbosity
=
0
else
:
verbosity
=
1
else
:
verbosity
=
2
import
re
selectors
=
[
re
.
compile
(
r
,
re
.
I
|
re
.
U
).
search
for
r
in
sys
.
argv
[
1
:]
]
if
not
selectors
:
...
...
@@ -293,7 +305,7 @@ if __name__ == '__main__':
if
coverage
is
not
None
:
coverage
.
start
()
unittest
.
TextTestRunner
(
verbosity
=
2
).
run
(
test_suite
)
unittest
.
TextTestRunner
(
verbosity
=
verbosity
).
run
(
test_suite
)
if
coverage
is
not
None
:
coverage
.
stop
()
...
...
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