Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
a8f0f750
Commit
a8f0f750
authored
Aug 08, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move more output to logfile.
parent
c150a35b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+4
-3
No files found.
erp5/util/testnode/testnode.py
View file @
a8f0f750
...
@@ -175,7 +175,7 @@ branch = %(branch)s
...
@@ -175,7 +175,7 @@ branch = %(branch)s
if
vcs_repository
.
get
(
'branch'
)
is
not
None
:
if
vcs_repository
.
get
(
'branch'
)
is
not
None
:
parameter_list
.
extend
([
'-b'
,
vcs_repository
.
get
(
'branch'
)])
parameter_list
.
extend
([
'-b'
,
vcs_repository
.
get
(
'branch'
)])
parameter_list
.
append
(
repository_path
)
parameter_list
.
append
(
repository_path
)
subprocess
.
check_call
(
parameter_list
)
log
(
subprocess
.
check_output
(
parameter_list
,
stderr
=
subprocess
.
STDOUT
)
)
# Make sure we have local repository
# Make sure we have local repository
updater
=
Updater
(
repository_path
,
git_binary
=
config
[
'git_binary'
],
updater
=
Updater
(
repository_path
,
git_binary
=
config
[
'git_binary'
],
log
=
log
)
log
=
log
)
...
@@ -268,9 +268,10 @@ branch = %(branch)s
...
@@ -268,9 +268,10 @@ branch = %(branch)s
# any custom code to pick the failure up and react ?)
# any custom code to pick the failure up and react ?)
remote_test_result_needs_cleanup
=
False
remote_test_result_needs_cleanup
=
False
run_test_suite
=
subprocess
.
Popen
(
invocation_list
,
run_test_suite
=
subprocess
.
Popen
(
invocation_list
,
preexec_fn
=
os
.
setsid
,
cwd
=
config
[
'test_suite_directory'
])
preexec_fn
=
os
.
setsid
,
cwd
=
config
[
'test_suite_directory'
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
STDOUT
)
process_group_pid_set
.
add
(
run_test_suite
.
pid
)
process_group_pid_set
.
add
(
run_test_suite
.
pid
)
run_test_suite
.
wait
(
)
log
(
run_test_suite
.
communicate
()[
0
]
)
process_group_pid_set
.
remove
(
run_test_suite
.
pid
)
process_group_pid_set
.
remove
(
run_test_suite
.
pid
)
except
SubprocessError
,
e
:
except
SubprocessError
,
e
:
if
remote_test_result_needs_cleanup
:
if
remote_test_result_needs_cleanup
:
...
...
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