Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
883fe6bf
Commit
883fe6bf
authored
Apr 11, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose more information about result status
parent
40ca3993
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
software/cdn-test/runTestSuite.py
software/cdn-test/runTestSuite.py
+7
-3
No files found.
software/cdn-test/runTestSuite.py
View file @
883fe6bf
...
@@ -97,12 +97,16 @@ def main():
...
@@ -97,12 +97,16 @@ def main():
'test-script-result'
,
'test-script-result'
,
))
))
if
len
(
result_list
)
>
0
:
if
len
(
result_list
)
>
0
:
print
(
try_info
+
' Data
found
.'
)
print
(
try_info
+
' Data
directory found, looking for results
.'
)
result_path
=
result_list
[
0
]
result_path
=
result_list
[
0
]
for
result_file
in
(
os
.
path
.
join
(
dirname
,
filename
)
result_file_list
=
(
os
.
path
.
join
(
dirname
,
filename
)
for
dirname
,
dirnames
,
filenames
in
os
.
walk
(
result_path
)
for
dirname
,
dirnames
,
filenames
in
os
.
walk
(
result_path
)
for
filename
in
filenames
for
filename
in
filenames
):
)
if
len
(
result_file_list
):
print
(
try_info
+
' No result posted, will check next try.'
)
for
result_file
in
result_file_list
:
print
(
try_info
+
' Data found.'
)
result_found
=
True
result_found
=
True
result_file
=
os
.
path
.
abspath
(
result_file
)
result_file
=
os
.
path
.
abspath
(
result_file
)
status_dict
[
'command'
]
=
result_file
status_dict
[
'command'
]
=
result_file
...
...
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