Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
faeef8c0
Commit
faeef8c0
authored
May 26, 2011
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps: remove remaining Exception.message references
These were overlooked and should not remain there
parent
46ec66fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tps.py
tps.py
+5
-5
No files found.
tps.py
View file @
faeef8c0
...
...
@@ -176,8 +176,8 @@ class Suite(object):
log
.
write
(
'running test {0} = {1}
\n
'
.
format
(
shortname
,
test
))
run_test
(
testname
,
logname
)
except
TpsCritical
,
e
:
print
'test [
%
s]: critical error, aborting: [
%
s]'
%
(
shortname
,
e
.
message
)
log
.
write
(
' critical error in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
.
message
))
print
'test [
%
s]: critical error, aborting: [
%
s]'
%
(
shortname
,
e
)
log
.
write
(
' critical error in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
))
log
.
write
(
' cannot continue, aborting test suite'
)
failures
.
append
((
shortname
,
e
,
))
break
...
...
@@ -201,8 +201,8 @@ class Suite(object):
log
.
write
(
' user intervention: continue
\n
'
)
continue
except
TpsWarning
,
e
:
print
'test [
%
s]: warning: [
%
s]'
%
(
shortname
,
e
.
message
)
log
.
write
(
' warning in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
.
message
))
print
'test [
%
s]: warning: [
%
s]'
%
(
shortname
,
e
)
log
.
write
(
' warning in test {0}, exception [{1}]
\n
'
.
format
(
shortname
,
e
))
failures
.
append
((
shortname
,
e
,
))
else
:
log
.
write
(
' OK
\n
'
)
...
...
@@ -371,7 +371,7 @@ def main():
try
:
s
.
validate_and_compute_run
()
except
TpsInvalid
,
e
:
print
'bad parameters:'
,
e
.
message
print
'bad parameters:'
,
e
return
# decide what to do
...
...
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