Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b13549a1
Commit
b13549a1
authored
Jan 15, 2006
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented missing -q flag which is expected/supported by 'zopectl test'.
parent
de31b967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
test.py
test.py
+7
-4
No files found.
test.py
View file @
b13549a1
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#
#
##############################################################################
##############################################################################
"""
"""
test.py [-abcCdDfgGhLmprtTuv] [modfilter [testfilter]]
test.py [-abcCdDfgGhLmp
q
rtTuv] [modfilter [testfilter]]
Find and run tests written using the unittest module.
Find and run tests written using the unittest module.
...
@@ -145,10 +145,11 @@ named .testinfo, it will not be searched for tests. Really.)
...
@@ -145,10 +145,11 @@ named .testinfo, it will not be searched for tests. Really.)
KCacheGrind sources to create data suitable for analysis by KCacheGrind.
KCacheGrind sources to create data suitable for analysis by KCacheGrind.
-v
-v
-q
Verbose output. With one -v, unittest prints a dot (".") for each
Verbose output. With one -v, unittest prints a dot (".") for each
test run. With -vv, unittest prints the name of each test (for
test run. With -vv, unittest prints the name of each test (for
some definition of "name" ...). With no -v
, unittest is silent
some definition of "name" ...). With no -v
(or with -q), unittest is
until the end of the run, except when errors occur.
silent
until the end of the run, except when errors occur.
-u
-u
-m
-m
...
@@ -801,7 +802,7 @@ def process_args(argv=None):
...
@@ -801,7 +802,7 @@ def process_args(argv=None):
no_warnings
=
False
no_warnings
=
False
try
:
try
:
opts
,
args
=
getopt
.
getopt
(
argv
[
1
:],
"a:bcC:dDfg:G:hLmprtTuv"
,
opts
,
args
=
getopt
.
getopt
(
argv
[
1
:],
"a:bcC:dDfg:G:hLmp
q
rtTuv"
,
[
"all"
,
"help"
,
"libdir="
,
"times="
,
[
"all"
,
"help"
,
"libdir="
,
"times="
,
"keepbytecode"
,
"nowarnings"
,
"dir="
,
"keepbytecode"
,
"nowarnings"
,
"dir="
,
"config-file="
,
"import-testing"
,
"config-file="
,
"import-testing"
,
...
@@ -870,6 +871,8 @@ def process_args(argv=None):
...
@@ -870,6 +871,8 @@ def process_args(argv=None):
GUI
=
1
GUI
=
1
elif
k
==
"-v"
:
elif
k
==
"-v"
:
VERBOSE
+=
1
VERBOSE
+=
1
elif
k
==
"-q"
:
VERBOSE
=
0
elif
k
==
"--times"
:
elif
k
==
"--times"
:
try
:
try
:
timetests
=
int
(
v
)
timetests
=
int
(
v
)
...
...
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