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
f5d37726
Commit
f5d37726
authored
Apr 18, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose glob used to find data
This makes debugging much easier.
parent
fcf310e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
software/cdn-test/runTestSuite.py
software/cdn-test/runTestSuite.py
+4
-4
No files found.
software/cdn-test/runTestSuite.py
View file @
f5d37726
...
@@ -86,16 +86,16 @@ def main():
...
@@ -86,16 +86,16 @@ def main():
while
1
:
while
1
:
finished
=
False
finished
=
False
try_info
=
'Try %s/%s.'
%
(
try_num
,
try_amount
)
try_info
=
'Try %s/%s.'
%
(
try_num
,
try_amount
)
print
(
try_info
+
' Waiting for data.'
)
test_result_glob
=
os
.
path
.
join
(
result_list
=
glob
.
glob
(
os
.
path
.
join
(
args
.
partition_path
,
args
.
partition_path
,
'..'
,
'..'
,
'*'
,
'*'
,
'srv'
,
'srv'
,
'public'
,
'public'
,
'test-script-result'
,
'test-script-result'
,
))
)
print
(
try_info
+
' Waiting for data in %r.'
%
(
test_result_glob
,))
result_list
=
glob
.
glob
(
test_result_glob
)
if
len
(
result_list
)
>
0
:
if
len
(
result_list
)
>
0
:
print
(
try_info
+
' Data directory found, looking for results.'
)
print
(
try_info
+
' Data directory found, looking for results.'
)
result_path
=
result_list
[
0
]
result_path
=
result_list
[
0
]
...
...
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